restructure
This commit is contained in:
parent
ef7661245b
commit
598a10bc28
182 changed files with 342 additions and 336 deletions
|
@ -31,7 +31,7 @@ docker attach [--no-stdin] container
|
|||
```
|
||||
|
||||
### `docker cp`
|
||||
The docker cp utility copies the contents of SRC_PATH to the DEST_PATH. You can copy from the container's file system to the local machine or the reverse, from the local filesystem to the container. If - is specified for either the SRC_PATH or DEST_PATH, you can also stream a [tar](../applications/cli/tar.md) archive from STDIN or to STDOUT. The CONTAINER can be a running or stopped container. The SRC_PATH or DEST_PATH can be a file or directory.
|
||||
The docker cp utility copies the contents of SRC_PATH to the DEST_PATH. You can copy from the container's file system to the local machine or the reverse, from the local filesystem to the container. If - is specified for either the SRC_PATH or DEST_PATH, you can also stream a [tar](../applications/cli/compression/tar.md) archive from STDIN or to STDOUT. The CONTAINER can be a running or stopped container. The SRC_PATH or DEST_PATH can be a file or directory.
|
||||
|
||||
```shell
|
||||
docker cp ./some_file CONTAINER:/work
|
||||
|
@ -122,7 +122,7 @@ docker tag SOURCE_IMAGE[:TAG] TARGET_IMAGE[:TAG]
|
|||
```
|
||||
|
||||
### Load/Save images
|
||||
You can save and load container images to/from [tar](../applications/cli/tar.md) archives.
|
||||
You can save and load container images to/from [tar](../applications/cli/compression/tar.md) archives.
|
||||
```shell
|
||||
# Save
|
||||
docker save [-o, --output outfile] image
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue