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

Written by

Founder and CEO of Nestybox, Inc.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store