ソースを参照

Merge pull request #11151 from chenhanxiao/See-also-export-import-save-load

docs: add See Also for description of export/import and save/load
Fred Lifton 10 年 前
コミット
e4a90897e1

+ 4 - 0
docs/man/docker-export.1.md

@@ -26,6 +26,10 @@ called test.tar:
     # ls *.tar
     # ls *.tar
     test.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
 # HISTORY
 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.

+ 3 - 0
docs/man/docker-import.1.md

@@ -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
     # 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
 # HISTORY
 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.

+ 3 - 0
docs/man/docker-load.1.md

@@ -36,6 +36,9 @@ Restores both images and tags.
     fedora              heisenbug           58394af37342        7 weeks ago         385.5 MB
     fedora              heisenbug           58394af37342        7 weeks ago         385.5 MB
     fedora              latest              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
 # HISTORY
 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.

+ 3 - 0
docs/man/docker-save.1.md

@@ -35,6 +35,9 @@ fedora image to a fedora-latest.tar:
     $ ls -sh fedora-latest.tar
     $ ls -sh fedora-latest.tar
     367M fedora-latest.tar
     367M fedora-latest.tar
 
 
+# See also
+**docker-load(1)** to load an image from a tar archive on STDIN.
+
 # HISTORY
 # HISTORY
 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.