Created
February 18, 2020 23:14
-
-
Save rms1000watt/565fd3dab4365b83f13277aadbf3e9d7 to your computer and use it in GitHub Desktop.
Docker in Docker 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| docker run -it --rm --privileged docker:dind sh | |
| # Then inside the container | |
| dockerd-entrypoint.sh dockerd & | |
| DOCKER_HOST=unix:///var/run/docker.sock | |
| docker run -itd --rm redis | |
| docker ps |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment