mirror of https://github.com/docker/docs.git
docs: add See Also for description of export/import and save/load
make them reference to each other. Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
This commit is contained in:
parent
5929f401fc
commit
cbb149f52f
|
@ -26,6 +26,10 @@ called test.tar:
|
|||
# ls *.tar
|
||||
test.tar
|
||||
|
||||
# See also
|
||||
**docker-import(1)** to create an empty filesystem image
|
||||
and import the contents of the tarball into it, then optionally tag it.
|
||||
|
||||
# HISTORY
|
||||
April 2014, Originally compiled by William Henry (whenry at redhat dot com)
|
||||
based on docker.com source material and internal work.
|
||||
|
|
|
@ -50,6 +50,9 @@ This example sets the docker image ENV variable DEBUG to true by default.
|
|||
|
||||
# tar -c . | docker import -c="ENV DEBUG true" - exampleimagedir
|
||||
|
||||
# See also
|
||||
**docker-export(1)** to export the contents of a filesystem as a tar archive to STDOUT.
|
||||
|
||||
# HISTORY
|
||||
April 2014, Originally compiled by William Henry (whenry at redhat dot com)
|
||||
based on docker.com source material and internal work.
|
||||
|
|
|
@ -36,6 +36,9 @@ Restores both images and tags.
|
|||
fedora heisenbug 58394af37342 7 weeks ago 385.5 MB
|
||||
fedora latest 58394af37342 7 weeks ago 385.5 MB
|
||||
|
||||
# See also
|
||||
**docker-save(1)** to save an image(s) to a tar archive (streamed to STDOUT by default).
|
||||
|
||||
# HISTORY
|
||||
April 2014, Originally compiled by William Henry (whenry at redhat dot com)
|
||||
based on docker.com source material and internal work.
|
||||
|
|
|
@ -35,6 +35,9 @@ fedora image to a fedora-latest.tar:
|
|||
$ ls -sh fedora-latest.tar
|
||||
367M fedora-latest.tar
|
||||
|
||||
# See also
|
||||
**docker-load(1)** to load an image from a tar archive on STDIN.
|
||||
|
||||
# HISTORY
|
||||
April 2014, Originally compiled by William Henry (whenry at redhat dot com)
|
||||
based on docker.com source material and internal work.
|
||||
|
|
Loading…
Reference in New Issue