Skip to content

传递镜像 | Docker

本篇介绍从有docker镜像的设备导出为文件,然后导入至无docker镜像的设备。本篇以nginx为例

导出镜像

docker save nginx -o nginx.tar

复制文件

nginx.tar复制至无docker镜像的设备

导入镜像

docker load -i nginx.tar