Last active
January 15, 2016 21:06
-
-
Save ismyrnow/2aa22d1483f8ea89861b to your computer and use it in GitHub Desktop.
Instructions for using docker-machine on Windows
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-machine start dev | |
# Make note of the IP address (typically 192.168.99.100) | |
docker-machine env dev --shell cmd | |
# Copy/paste commands | |
docker build -t ismyrnow/my-container:1.0.0 . | |
docker run -di -p 8080:8080 ismyrnow/my-container:1.0.0 | |
# To access the shell of the container: | |
docker exec -it -u root *hash* bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment