Browse code

Merge pull request #4541 from scollier/master

Adding the new options to the `docker ps` documentation.

Sven Dowideit authored on 2014/03/12 10:36:12
Showing 1 changed files
... ...
@@ -80,7 +80,9 @@ Commands
80 80
       -g, --graph="/var/lib/docker": Path to use as the root of the docker runtime
81 81
       --icc=true: Enable inter-container communication
82 82
       --ip="0.0.0.0": Default IP address to use when binding container ports
83
+      --ip-forward=true: Disable enabling of net.ipv4.ip_forward
83 84
       --iptables=true: Disable docker's addition of iptables rules
85
+      --mtu=0: Set the containers network MTU; if no value is provided: default to the default route MTU or 1500 if not default route is available
84 86
       -p, --pidfile="/var/run/docker.pid": Path to use for daemon PID file
85 87
       -r, --restart=true: Restart previously running containers
86 88
       -s, --storage-driver="": Force the docker runtime to use a specific storage driver
... ...
@@ -933,8 +935,14 @@ new output from the container's stdout and stderr.
933 933
     List containers
934 934
 
935 935
       -a, --all=false: Show all containers. Only running containers are shown by default.
936
+      --before-id="": Show only container created before Id, include non-running ones.
937
+      -l, --latest=false: Show only the latest created container, include non-running ones.
938
+      -n=-1: Show n last created containers, include non-running ones.
936 939
       --no-trunc=false: Don't truncate output
937 940
       -q, --quiet=false: Only display numeric IDs
941
+      -s, --size=false: Display sizes, not to be used with -q
942
+      --since-id="": Show only containers created since Id, include non-running ones.
943
+
938 944
 
939 945
 Running ``docker ps`` showing 2 linked containers.
940 946
 
... ...
@@ -961,6 +969,8 @@ The last container is marked as a ``Ghost`` container. It is a container that wa
961 961
 
962 962
     Pull an image or a repository from the registry
963 963
 
964
+      -t, --tag="": Download tagged image in repository
965
+
964 966
 
965 967
 .. _cli_push:
966 968
 
... ...
@@ -985,6 +995,8 @@ The last container is marked as a ``Ghost`` container. It is a container that wa
985 985
 
986 986
     Restart a running container
987 987
 
988
+       -t, --time=10: Number of seconds to try to stop for before killing the container. Once killed it will then be restarted. Default=10
989
+
988 990
 .. _cli_rm:
989 991
 
990 992
 ``rm``
... ...
@@ -997,6 +1009,7 @@ The last container is marked as a ``Ghost`` container. It is a container that wa
997 997
     Remove one or more containers
998 998
         -l, --link="": Remove the link instead of the actual container
999 999
         -f, --force=false: Force removal of running container
1000
+        -v, --volumes=false: Remove the volumes associated to the container
1000 1001
 
1001 1002
 Known Issues (rm)
1002 1003
 ~~~~~~~~~~~~~~~~~