mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
various man page typos
Signed-off-by: Sally O'Malley <somalley@redhat.com>
This commit is contained in:
parent
5ecbc9747f
commit
d79860af87
7 changed files with 18 additions and 12 deletions
|
@ -6,7 +6,7 @@ docker-attach - Attach to a running container
|
|||
|
||||
# SYNOPSIS
|
||||
**docker attach**
|
||||
[**--help**]/
|
||||
[**--help**]
|
||||
[**--no-stdin**[=*false*]]
|
||||
[**--sig-proxy**[=*true*]]
|
||||
CONTAINER
|
||||
|
|
|
@ -7,6 +7,7 @@ docker-export - Export the contents of a container's filesystem as a tar archive
|
|||
# SYNOPSIS
|
||||
**docker export**
|
||||
[**--help**]
|
||||
[**-o**|**--output**[=*""*]]
|
||||
CONTAINER
|
||||
|
||||
# DESCRIPTION
|
||||
|
@ -19,8 +20,9 @@ Stream to a file instead of STDOUT by using **-o**.
|
|||
# OPTIONS
|
||||
**--help**
|
||||
Print usage statement
|
||||
|
||||
**-o**, **--output**=""
|
||||
Write to a file, instead of STDOUT
|
||||
Write to a file, instead of STDOUT
|
||||
|
||||
# EXAMPLES
|
||||
Export the contents of the container called angry_bell to a tar file
|
||||
|
|
|
@ -6,16 +6,19 @@ docker-import - Create an empty filesystem image and import the contents of the
|
|||
|
||||
# SYNOPSIS
|
||||
**docker import**
|
||||
[**-c**|**--change**[= []**]]
|
||||
[**-c**|**--change**[=*[]*]]
|
||||
[**-m**|**--message**[=*MESSAGE*]]
|
||||
[**--help**]
|
||||
file|URL|- [REPOSITORY[:TAG]]
|
||||
file|URL|**-**[REPOSITORY[:TAG]]
|
||||
|
||||
# OPTIONS
|
||||
**-c**, **--change**=[]
|
||||
Apply specified Dockerfile instructions while importing the image
|
||||
Supported Dockerfile instructions: `CMD`|`ENTRYPOINT`|`ENV`|`EXPOSE`|`ONBUILD`|`USER`|`VOLUME`|`WORKDIR`
|
||||
|
||||
**--help**
|
||||
Print usage statement
|
||||
|
||||
**-m**, **--message**=""
|
||||
Set commit message for imported image
|
||||
|
||||
|
@ -23,9 +26,6 @@ file|URL|- [REPOSITORY[:TAG]]
|
|||
Create a new filesystem image from the contents of a tarball (`.tar`,
|
||||
`.tar.gz`, `.tgz`, `.bzip`, `.tar.xz`, `.txz`) into it, then optionally tag it.
|
||||
|
||||
# OPTIONS
|
||||
**--help**
|
||||
Print usage statement
|
||||
|
||||
# EXAMPLES
|
||||
|
||||
|
|
|
@ -30,8 +30,8 @@ each result.
|
|||
|
||||
# EXAMPLES
|
||||
|
||||
Getting information on an image where image name conflict with the container name,
|
||||
e,g both image and container are named rhel7.
|
||||
Get information about an image when image name conflicts with the container name,
|
||||
e.g. both image and container are named rhel7:
|
||||
|
||||
$ docker inspect --type=image rhel7
|
||||
[
|
||||
|
@ -208,7 +208,7 @@ https://golang.org/pkg/text/template/.
|
|||
## Getting information on an image
|
||||
|
||||
Use an image's ID or name (e.g., repository/name[:tag]) to get information
|
||||
on it.
|
||||
about the image:
|
||||
|
||||
$ docker inspect ded7cd95e059
|
||||
[{
|
||||
|
@ -289,3 +289,4 @@ April 2014, originally compiled by William Henry (whenry at redhat dot com)
|
|||
based on docker.com source material and internal work.
|
||||
June 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>
|
||||
April 2015, updated by Qiang Huang <h.huangqiang@huawei.com>
|
||||
October 2015, updated by Sally O'Malley <somalley@redhat.com>
|
||||
|
|
|
@ -11,3 +11,5 @@ OLD_NAME NEW_NAME
|
|||
# OPTIONS
|
||||
There are no available options.
|
||||
|
||||
# DESCRIPTION
|
||||
Rename a container. Container may be running, paused or stopped.
|
||||
|
|
|
@ -33,7 +33,7 @@ containers on a host use the **docker ps -a** command.
|
|||
|
||||
# EXAMPLES
|
||||
|
||||
##Removing a container using its ID##
|
||||
## Removing a container using its ID
|
||||
|
||||
To remove a container using its ID, find either from a **docker ps -a**
|
||||
command, or use the ID returned from the **docker run** command, or retrieve
|
||||
|
@ -41,7 +41,7 @@ it from a file used to store it using the **docker run --cidfile**:
|
|||
|
||||
docker rm abebf7571666
|
||||
|
||||
##Removing a container using the container name##
|
||||
## Removing a container using the container name
|
||||
|
||||
The name of the container can be found using the **docker ps -a**
|
||||
command. The use that name as follows:
|
||||
|
|
|
@ -7,6 +7,7 @@ docker-stats - Display a live stream of one or more containers' resource usage s
|
|||
# SYNOPSIS
|
||||
**docker stats**
|
||||
[**--help**]
|
||||
[**--no-stream**[=*false*]]
|
||||
CONTAINER [CONTAINER...]
|
||||
|
||||
# DESCRIPTION
|
||||
|
|
Loading…
Reference in a new issue