mirror of
https://github.com/yeasy/docker_practice.git
synced 2024-11-28 09:18:54 +00:00
docker save is used to save image and docker export is used to export container
This commit is contained in:
parent
26620cb3d5
commit
08ed01831a
@ -8,7 +8,7 @@ REPOSITORY TAG IMAGE ID CREATED
|
|||||||
ubuntu latest 826544226fdc 2 weeks ago 194.2 MB
|
ubuntu latest 826544226fdc 2 weeks ago 194.2 MB
|
||||||
ouruser/sinatra v2 51619aaca804 2 weeks ago 373.3 MB
|
ouruser/sinatra v2 51619aaca804 2 weeks ago 373.3 MB
|
||||||
ubuntu 14.04 c4ff7513909d 5 weeks ago 225.4 MB
|
ubuntu 14.04 c4ff7513909d 5 weeks ago 225.4 MB
|
||||||
$sudo docker export ubuntu:14.04 > ubuntu_14.04.tar
|
$sudo docker save -o ubuntu_14.04.tar ubuntu:14.04
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user