Skip to content

Instantly share code, notes, and snippets.

@cameron
Created December 14, 2013 23:53
Show Gist options
  • Save cameron/7966676 to your computer and use it in GitHub Desktop.
Save cameron/7966676 to your computer and use it in GitHub Desktop.
For those running docker inside a vagrant vm, a shell function that makes it feel native.
# the DOCKER_WRAPPER bit silences the warning that results from running the latest git version
vagrant ssh -c "echo 'DOCKER_WRAPPER'; sudo docker $@" 2>/dev/null | sed '1,/DOCKER_WRAPPER/d'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment