Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

docker-gocd

Overview

This repo contains scripts and source to build docker images for:

The images are based on CentOS 6.5.
Trusted builds are at:

Troubleshoot outside a container

# List active containers.
docker ps

# List all containers.
docker ps -a

# Follow logs from a container.
docker logs -f <container-id>

Troubleshoot inside a container

  1. Install https://github.com/jpetazzo/nsenter

    docker run --rm -v /tmp:/target jpetazzo/nsenter
    
  2. Enter a container:

    # This example assumes the gocd-agent container.
    PID=$(docker inspect --format {{.State.Pid}} gocd-agent.service)
    sudo /tmp/nsenter --target $PID --mount --uts --ipc --net --pid
    
    # This example assumes the gocd-server container.
    PID=$(docker inspect --format {{.State.Pid}} gocd-server.service)
    sudo /tmp/nsenter --target $PID --mount --uts --ipc --net --pid
    
  3. Poke around, then CTRL-D when done.

Hacking

See CONTRIBUTING.md in this repo.

Deployment

See DEPLOY.md in this repo.

If you only want to see it in action, run this command from the repo:

script/test

:warning: The above command pulls jumanjiman/gocd-* trusted builds and
can take several minutes to complete.

License

See LICENSE in this repo.

References

Other ways to deploy gocd

Docker Pull Command
Owner
jumanjiman
Source Repository

Comments (0)