Skip to content

Instantly share code, notes, and snippets.

@mdgriffith
Created October 5, 2016 19:08
Show Gist options
  • Save mdgriffith/0d162476f753f49d694d88e762d620ad to your computer and use it in GitHub Desktop.
Save mdgriffith/0d162476f753f49d694d88e762d620ad to your computer and use it in GitHub Desktop.
docker-machine create --driver virtualbox my-docker-machine
# focus on new machine
eval $(docker-machine env my-docker-machine)
# Run docker and drop into a bash session
docker run -it my-docker-image /bin/bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment