Skip to content

Instantly share code, notes, and snippets.

@leoluz
Created July 2, 2019 20:05
Show Gist options
  • Save leoluz/3e35ec4604315cd80b1b2cd9b4d3708e to your computer and use it in GitHub Desktop.
Save leoluz/3e35ec4604315cd80b1b2cd9b4d3708e to your computer and use it in GitHub Desktop.
docker-out-of-docker (DooD)
# Starts a docker container with the hosts docker daemon for doing docker tests
# https://asciinema.org/a/137139
docker run --rm --privileged -v /var/run/docker.sock:/var/run/docker.sock -it docker /bin/sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment