mirror of https://github.com/docker/cli.git
Align 'docker commit' docs with the code
It was missing some variants and 'maintainer' isn't actually supported. Also sorted the list of allowed cmds in the code just to make it easier to diff with the docs. Signed-off-by: Doug Davis <dug@us.ibm.com>
This commit is contained in:
parent
839e00bb6f
commit
c88c5588bf
|
@ -35,7 +35,7 @@ undesired, set the 'p' option to false.
|
||||||
|
|
||||||
The `--change` option will apply `Dockerfile` instructions to the image that is
|
The `--change` option will apply `Dockerfile` instructions to the image that is
|
||||||
created. Supported `Dockerfile` instructions:
|
created. Supported `Dockerfile` instructions:
|
||||||
`CMD`|`ENTRYPOINT`|`ENV`|`EXPOSE`|`ONBUILD`|`USER`|`VOLUME`|`WORKDIR`
|
`CMD`|`ENTRYPOINT`|`ENV`|`EXPOSE`|`LABEL`|`ONBUILD`|`USER`|`VOLUME`|`WORKDIR`
|
||||||
|
|
||||||
## Commit a container
|
## Commit a container
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@ people.
|
||||||
|
|
||||||
**-c** , **--change**=[]
|
**-c** , **--change**=[]
|
||||||
Apply specified Dockerfile instructions while committing the image
|
Apply specified Dockerfile instructions while committing the image
|
||||||
Supported Dockerfile instructions: `CMD`|`ENTRYPOINT`|`ENV`|`EXPOSE`|`ONBUILD`|`USER`|`VOLUME`|`WORKDIR`
|
Supported Dockerfile instructions: `CMD`|`ENTRYPOINT`|`ENV`|`EXPOSE`|`LABEL`|`ONBUILD`|`USER`|`VOLUME`|`WORKDIR`
|
||||||
|
|
||||||
**--help**
|
**--help**
|
||||||
Print usage statement
|
Print usage statement
|
||||||
|
|
Loading…
Reference in New Issue