-
-
Save feniix/c71707bee5fa4499b7bf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker-enter () { | |
vagrant ssh abed1ef -- '[ -f /var/lib/boot2docker/nsenter ] || docker run --rm -v /var/lib/boot2docker/:/target jpetazzo/nsenter' | |
vagrant ssh abed1ef -- -t sudo /var/lib/boot2docker/docker-enter "$@" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment