Merge pull request #1589 from unclejack/479-add_rm_support_to_docker_run

Add -rm to docker run for removing a container on exit
Upstream-commit: db869ecce57baa71f8b5eccf5fb769c3c6796438
Component: engine
This commit is contained in:
Michael Crosby
2013-09-27 11:45:32 -07:00
4 changed files with 54 additions and 3 deletions
@@ -23,6 +23,7 @@
-m=0: Memory limit (in bytes)
-n=true: Enable networking for this container
-p=[]: Map a network port to the container
-rm=false: Automatically remove the container when it exits (incompatible with -d)
-t=false: Allocate a pseudo-tty
-u="": Username or UID
-dns=[]: Set custom dns servers for the container