Skip to content

Instantly share code, notes, and snippets.

@zachsa
Created August 12, 2019 15:33
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 zachsa/c2ce382d3b60966e0b65e686e8afae29 to your computer and use it in GitHub Desktop.
Save zachsa/c2ce382d3b60966e0b65e686e8afae29 to your computer and use it in GitHub Desktop.
Create a temp container, and mount the docker host as a volume inside it
// https://nickjanetakis.com/blog/docker-tip-70-gain-access-to-the-mobylinux-vm-on-windows-or-macos
docker container run --rm -it -v /:/host alpine
chroot /host
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment