Skip to content

Instantly share code, notes, and snippets.

View dnlsur's full-sized avatar

Daniel Guerrero dnlsur

  • Ideasoft
  • Montevideo, Uruguay
  • 10:14 (UTC -03:00)
  • X @dnlsur
View GitHub Profile
@dnlsur
dnlsur / docker-for-mac.md
Created January 21, 2020 22:39 — forked from BretFisher/docker-for-mac.md
Getting a Shell in the Docker for Mac Moby VM

2018 Update: Easiest option is Justin's repo and image

Just run this from your Mac terminal and it'll drop you in a container with full permissions on the Moby VM. This also works for Docker for Windows for getting in Moby Linux VM (doesn't work for Windows Containers).

docker run -it --rm --privileged --pid=host justincormack/nsenter1

more info: https://github.com/justincormack/nsenter1