Created
January 24, 2018 08:10
-
-
Save falvarez/71298b07603d32374ceb2845c3eec997 to your computer and use it in GitHub Desktop.
Run docker container, mount current working directory and get interactive shell
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 run -ti -v $(pwd):/tmp DOCKER_IMAGE /bin/bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For Windows that would be
docker run --rm -it -v "%cd%":/tmp DOCKER_IMAGE /bin/bash