We have provided the GoCD Agent DinD image that can be used to run docker related tasks in a GoCD agent.Īs explained by jpetazzo in his blogpost, there are some cases where DinD may not work for you. The privileged flag enables the host container to do almost all of the things that the underlying host machine can do. This requires that the host docker container be run in privileged mode. Docker in Docker (DinD)ĭocker in Docker involves setting up a docker binary and running an isolated docker daemon inside the container.
This section identifies the approaches and the drawbacks to keep in mind when using these approaches. Using docker containers to execute docker commands can be done in the following ways.
Getting Started with GoCD on Kubernetes Docker workflows Your query search resulted in no results. Using parameters in Pipelines and Templates.