Created
March 7, 2019 05:41
-
-
Save rpbeukes/8abca4c7ef94486fa0eabb86b8cd1cbe to your computer and use it in GitHub Desktop.
Docker commands
This file contains 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
Hello world docker container: | |
docker run node -p 8080:3000 -v C:\Repo\nodeDockerVolumeTest:/app -w "/app" node node main.js | |
Connect to bash of docker container: | |
docker run node -p 8080:3000 -it -v C:\Repo\nodeDockerVolumeTest:/app -w "/app" /bin/bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment