Provides a service script for /etc/init.d, extends GoCD server image with svn & hg
2.2K
See https://github.com/ckulka/gocd-server
I follow the same naming scheme for the images as gocd themselves:
GoCD Server based on gocd/gocd-server
The service script's intended use is for /etc/init.d and provides the usual commands:
# Shell working directory is where this README.md is
gocd-server/gocd-server.sh {start | stop | restart | status}
gocd-agent/gocd-agent.sh {start | stop | restart | status}
The gocd-agent.sh script assumes that the GoCD Server is running on the same host and that its ports are exposed.
For further configuration, e.g. the server address or volumes, check the shell scripts.
Note that both docker run commands are running in the foreground, due to the conflicting -d and --rm flags.
# Create GoCD Server volume container with the name “gocd-server-data”
docker create --name gocd-server-data ckulka/gocd-server /bin/true
# Create GoCD Server container with the name “gocd-server”
docker run -p 8153:8153 --rm --name gocd-server --volumes-from go-server-data ckulka/gocd-server
# Create GoCD Agent container linked to our "gocd-server"
docker run -link gocd-server:go-server --rm ckulka/gocd-agent
Content type
Image
Digest
sha256:bb6cd5894…
Size
-
Last updated
almost 11 years ago
docker pull ckulka/gocd-server