This is a docker-compose script to run GoCD-Server and one GoCD-Worker (Ubuntu 16.04) together.
To start GoCD
docker-compose up -d
To stop GoCD
docker-compose stop
To stop & remove GoCD
docker-compose down
docker build -f dockerfile-golang -t gocd-agent-ubuntu-16.04-golang .
After building, you may replace the worker image with gocd-agent-ubuntu-16.04-golang
instead of gocd/gocd-agent-ubuntu-16.04:v17.4.0