docker save/load、export/import 区别
- 区别:
- save的对象是image,产生的文件需要用load来生成image;
- export的对象是container,产生的文件需要用import来生成image。
save Save one or more images to a tar archive (streamed to STDOUT by default)
load Load an image from a tar archive or STDIN
export Export a container's filesystem as a tar archive
import Import the contents from a tarball to create a filesystem image