1 min readFeb 8, 2020
Thanks Arseny for the detailed article.
I wonder if the setup would be simplified by using the Nestybox container runtime (www.nestybox.com), which enables running Docker-in-Docker securely (without privileged containers).
In particular, I think some of the configs around using the docker socket (e.g., “/var/run/docker.sock:/var/run/docker.sock”) in the Docker compose file as well as the pipeline script would likely go away, since it allows you to run a container with Jenkins + a dedicated docker daemon. Check out this blog which provides more info on this: https://blog.nestybox.com/2019/09/29/jenkins.html