From 08ed01831af6ecb50ef84dc9d72f086dae26e8a7 Mon Sep 17 00:00:00 2001 From: aisensiy Date: Wed, 24 Sep 2014 12:27:00 +0800 Subject: [PATCH] docker save is used to save image and docker export is used to export container --- image/save_load.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image/save_load.md b/image/save_load.md index c2d497a..0eaa8dc 100644 --- a/image/save_load.md +++ b/image/save_load.md @@ -8,7 +8,7 @@ REPOSITORY TAG IMAGE ID CREATED ubuntu latest 826544226fdc 2 weeks ago 194.2 MB ouruser/sinatra v2 51619aaca804 2 weeks ago 373.3 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 ```