Skip to content

Instantly share code, notes, and snippets.

@rms1000watt
Created February 18, 2020 23:14
Show Gist options
  • Save rms1000watt/565fd3dab4365b83f13277aadbf3e9d7 to your computer and use it in GitHub Desktop.
Save rms1000watt/565fd3dab4365b83f13277aadbf3e9d7 to your computer and use it in GitHub Desktop.
Docker in Docker 2020
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