Skip to content

Instantly share code, notes, and snippets.

@paulolorenzobasilio
Created August 1, 2019 04:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save paulolorenzobasilio/0e6b79b1f2f6656fbda450563b7b1a93 to your computer and use it in GitHub Desktop.
Save paulolorenzobasilio/0e6b79b1f2f6656fbda450563b7b1a93 to your computer and use it in GitHub Desktop.
Mount the docker instance in the container to be able to use docker inside the container.
docker run -d -u root -v $(which docker):/usr/bin/docker -v /var/run/docker.sock:/var/run/docker.sock -t image/image:lts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment