Created
April 3, 2013 07:39
-
-
Save sa2ajj/5299156 to your computer and use it in GitHub Desktop.
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
$ docker help run | |
Usage: docker run [OPTIONS] IMAGE COMMAND [ARG...] | |
Run a command in a new container | |
-a=map[]: Attach to stdin, stdout or stderr. | |
-d=false: Detached mode: leave the container running in the background | |
-e=[]: Set environment variables | |
-h="": Container host name | |
-i=false: Keep stdin open even if not attached | |
-m=0: Memory limit (in bytes) | |
-p=[]: Map a network port to the container | |
-t=false: Allocate a pseudo-tty | |
-u="": Username or UID | |
-volume=[]: Specify directories to use inside container |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment