Mounting /var/run/docker.sock
inside the container is the usual approach for this, as long as you’re comfortable exposing your host’s Docker daemon to the containerexposing your host’s Docker daemon to the container. For this to work, you also need to ensure the Docker client binary (docker
) is available inside the container; in your case it isn’t, you need to add it to the image.