A simple Dockerfile for a Jenkins with a remote Docker daemon
Any use of the docker command will be executed on the remote docker host, providing a way to sandbox Docker usage inside Jenkins.
- Use the
DOCKER_HOSTvariable to specify the remote host. - Use the
DOCKER_VERSIONvariable to specify the local Docker version.