mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
update the cli / man page docs based on what is in master right now
Docker-DCO-1.1-Signed-off-by: SvenDowideit <SvenDowideit@home.org.au> (github: SvenDowideit)
This commit is contained in:
parent
7afb98ad5d
commit
018e75a6e4
3 changed files with 15 additions and 6 deletions
|
@ -8,6 +8,7 @@ docker-ps - List containers
|
||||||
**docker ps**
|
**docker ps**
|
||||||
[**-a**|**--all**[=*false*]]
|
[**-a**|**--all**[=*false*]]
|
||||||
[**--before**[=*BEFORE*]]
|
[**--before**[=*BEFORE*]]
|
||||||
|
[**-f**|**--filter**[=*[]*]]
|
||||||
[**-l**|**--latest**[=*false*]]
|
[**-l**|**--latest**[=*false*]]
|
||||||
[**-n**[=*-1*]]
|
[**-n**[=*-1*]]
|
||||||
[**--no-trunc**[=*false*]]
|
[**--no-trunc**[=*false*]]
|
||||||
|
@ -28,6 +29,10 @@ the running containers.
|
||||||
**--before**=""
|
**--before**=""
|
||||||
Show only container created before Id or Name, include non-running ones.
|
Show only container created before Id or Name, include non-running ones.
|
||||||
|
|
||||||
|
**-f**, **--filter**=[]
|
||||||
|
Provide filter values. Valid filters:
|
||||||
|
exited=<int> - containers with exit code of <int>
|
||||||
|
|
||||||
**-l**, **--latest**=*true*|*false*
|
**-l**, **--latest**=*true*|*false*
|
||||||
Show only the latest created container, include non-running ones. The default is *false*.
|
Show only the latest created container, include non-running ones. The default is *false*.
|
||||||
|
|
||||||
|
@ -68,3 +73,4 @@ the running containers.
|
||||||
April 2014, Originally compiled by William Henry (whenry at redhat dot com)
|
April 2014, Originally compiled by William Henry (whenry at redhat dot com)
|
||||||
based on docker.com source material and internal work.
|
based on docker.com source material and internal work.
|
||||||
June 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>
|
June 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>
|
||||||
|
August 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>
|
||||||
|
|
|
@ -6,8 +6,8 @@ docker-rm - Remove one or more containers
|
||||||
|
|
||||||
# SYNOPSIS
|
# SYNOPSIS
|
||||||
**docker rm**
|
**docker rm**
|
||||||
[**-l**|**--link**[=*false*]]
|
|
||||||
[**-f**|**--force**[=*false*]]
|
[**-f**|**--force**[=*false*]]
|
||||||
|
[**-l**|**--link**[=*false*]]
|
||||||
[**-v**|**--volumes**[=*false*]]
|
[**-v**|**--volumes**[=*false*]]
|
||||||
CONTAINER [CONTAINER...]
|
CONTAINER [CONTAINER...]
|
||||||
|
|
||||||
|
@ -19,11 +19,12 @@ remove a running container unless you use the \fB-f\fR option. To see all
|
||||||
containers on a host use the **docker ps -a** command.
|
containers on a host use the **docker ps -a** command.
|
||||||
|
|
||||||
# OPTIONS
|
# OPTIONS
|
||||||
|
**-f**, **--force**=*true*|*false*
|
||||||
|
Force the removal of a running container (uses SIGKILL). The default is *false*.
|
||||||
|
|
||||||
**-l**, **--link**=*true*|*false*
|
**-l**, **--link**=*true*|*false*
|
||||||
Remove the specified link and not the underlying container. The default is *false*.
|
Remove the specified link and not the underlying container. The default is *false*.
|
||||||
|
|
||||||
**-f**, **--force**=*true*|*false*
|
|
||||||
Allows removing of a running container by first killing it with SIGKILL.
|
|
||||||
**-v**, **--volumes**=*true*|*false*
|
**-v**, **--volumes**=*true*|*false*
|
||||||
Remove the volumes associated with the container. The default is *false*.
|
Remove the volumes associated with the container. The default is *false*.
|
||||||
|
|
||||||
|
@ -49,3 +50,4 @@ April 2014, Originally compiled by William Henry (whenry at redhat dot com)
|
||||||
based on docker.com source material and internal work.
|
based on docker.com source material and internal work.
|
||||||
June 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>
|
June 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>
|
||||||
July 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>
|
July 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>
|
||||||
|
August 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>
|
||||||
|
|
|
@ -65,7 +65,7 @@ expect an integer, and they can only be specified once.
|
||||||
-H, --host=[] The socket(s) to bind to in daemon mode
|
-H, --host=[] The socket(s) to bind to in daemon mode
|
||||||
specified using one or more tcp://host:port, unix:///path/to/socket, fd://* or fd://socketfd.
|
specified using one or more tcp://host:port, unix:///path/to/socket, fd://* or fd://socketfd.
|
||||||
--icc=true Enable inter-container communication
|
--icc=true Enable inter-container communication
|
||||||
--ip="0.0.0.0" Default IP address to use when binding container ports
|
--ip=0.0.0.0 Default IP address to use when binding container ports
|
||||||
--ip-forward=true Enable net.ipv4.ip_forward
|
--ip-forward=true Enable net.ipv4.ip_forward
|
||||||
--iptables=true Enable Docker's addition of iptables rules
|
--iptables=true Enable Docker's addition of iptables rules
|
||||||
--mtu=0 Set the containers network MTU
|
--mtu=0 Set the containers network MTU
|
||||||
|
@ -792,7 +792,8 @@ further details.
|
||||||
|
|
||||||
-a, --all=false Show all containers. Only running containers are shown by default.
|
-a, --all=false Show all containers. Only running containers are shown by default.
|
||||||
--before="" Show only container created before Id or Name, include non-running ones.
|
--before="" Show only container created before Id or Name, include non-running ones.
|
||||||
-f, --filter=[] Provide filter values (i.e. 'exited=0')
|
-f, --filter=[] Provide filter values. Valid filters:
|
||||||
|
exited=<int> - containers with exit code of <int>
|
||||||
-l, --latest=false Show only the latest created container, include non-running ones.
|
-l, --latest=false Show only the latest created container, include non-running ones.
|
||||||
-n=-1 Show n last created containers, include non-running ones.
|
-n=-1 Show n last created containers, include non-running ones.
|
||||||
--no-trunc=false Don't truncate output
|
--no-trunc=false Don't truncate output
|
||||||
|
@ -882,7 +883,7 @@ registry or to a self-hosted one.
|
||||||
|
|
||||||
Remove one or more containers
|
Remove one or more containers
|
||||||
|
|
||||||
-f, --force=false Force removal of a running container. Uses SIGKILL to stop the container.
|
-f, --force=false Force the removal of a running container (uses SIGKILL)
|
||||||
-l, --link=false Remove the specified link and not the underlying container
|
-l, --link=false Remove the specified link and not the underlying container
|
||||||
-v, --volumes=false Remove the volumes associated with the container
|
-v, --volumes=false Remove the volumes associated with the container
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue