Docker-in-Docker
lastmod 2021-07-26created 2021-07-263 edits
Simple Usage
- Docker in Docker?. Can you run Docker inside a Docker… | by Daniel Weibel | ITNEXT
- Building Docker images with GitLab CI/CD | GitLab
To use the docker command inside a Docker container, use the docker image and mount the /var/run/docker.sock socket as a volume.
Alternatively, use the docker:dind image with the --privileged flag. (This method is not recommended)