Skip to content

jumanjihouse/docker-gocd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-gocd

wercker status

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

⚠️ 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

About

go continuous delivery agent and server in docker containers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published