Public | Automated Build

Last pushed: 2 years ago
Short Description
Provides a service script for /etc/init.d, extends GoCD server image with svn & hg
Full Description

See https://github.com/ckulka/gocd-server

Supported Tags

I follow the same naming scheme for the images as gocd themselves:

  • latest (corresponds to 15.1.0)
  • 15.1.0

Image Details

GoCD Server based on gocd/gocd-server

  • Added subversion & mercurial

Service Script (see ckulka/gocd-docker on GitHub)

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.

The Manual Way

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
Docker Pull Command
Owner
ckulka
Source Repository