docker save -o image-file.tar imagename:imagetag # 把镜像保存到本地 docker load -i image-file.tar # 把镜像加载到 docker 中