Skip to content

Instantly share code, notes, and snippets.

@chux0519
Created July 10, 2019 09:24
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 chux0519/2ec18fbd0e88762e03dc524c3333f060 to your computer and use it in GitHub Desktop.
Save chux0519/2ec18fbd0e88762e03dc524c3333f060 to your computer and use it in GitHub Desktop.
docker cp into vlomue
docker container create --name temp -v the-craft-of-selfteaching:/data alpine
docker cp . temp:/data
docker rm temp
## macos only
docker run -it --rm --privileged --pid=host justincormack/nsenter1
or
docker run -it --rm --privileged --pid=host alpine nsenter -t 1 -m -u -n -i -- sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment