This should be considered deprecated. Check https://hub.docker.com/u/gocd/
Creating Go CD agents from a dockerfile.
This is really mostly a spike at this point. I wanted a way to run multiple agents in discrete containers on my machine. The files should work for anyone else if you edit go-agent and autoregister.properties
git clone this repo
Build your image
docker build -t your-repo-name/go-agent .
This will launch 10 agents in containers
for i in {1..10} ; do docker run -d kmugrage/go-agent ; done