Binding docker.sock changes file’s ownership to root:root
I am trying to run a Jenkins host inside a Docker container for my college’s final paper.
My pipeline will also spawn more containers, and for that, I am binding the /var/run/docker.sock
file, to share the Docker host’s socket with Jenkins and spawn ‘sibling’ containers.