Merge pull request #123 from tranhuucuong91/patch-1

Update README.md
This commit is contained in:
Will Sargent 2016-12-09 09:02:54 -08:00 committed by GitHub
commit 1dc20dbd63

View file

@ -236,7 +236,7 @@ docker load < my_image.tar.gz
Save an existing image: Save an existing image:
``` ```
docker save my_image:my_tag > my_image.tar.gz docker save my_image:my_tag | gzip > my_image.tar.gz
``` ```
### Import/Export container ### Import/Export container
@ -248,7 +248,7 @@ cat my_container.tar.gz | docker import - my_image:my_tag
Export an existing container: Export an existing container:
``` ```
docker export my_container > my_container.tar.gz docker export my_container | gzip > my_container.tar.gz
``` ```
### Difference between loading a saved image and importing an exported container as an image ? ### Difference between loading a saved image and importing an exported container as an image ?