Last active
March 6, 2017 08:18
-
-
Save szukalski/7e23f9a15d6bca18755ca29bee355a4f to your computer and use it in GitHub Desktop.
useful docker commands
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 -d -v <local_vol>:<container_vol> -p <local_port>:<container_port> --restart always IMAGE | |
| docker exec -it RUNNING_IMAGE COMMAND |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment