2018年08月19日 21:34:01 张涛弟弟 阅读数:420
有时候 我们镜像做好之后 想要把这个镜像保存起来,怎么样保存呢
doker save -o 保存到本地镜像的名字 镜像名称
docker load –input 本地镜像名字
(导入镜像)
docker load < 本地镜像名字
删除镜像
docker rmi 镜像ID
(删除镜像)
-f 参数;强制性删除
2018年08月19日 21:34:01 张涛弟弟 阅读数:420
有时候 我们镜像做好之后 想要把这个镜像保存起来,怎么样保存呢
doker save -o 保存到本地镜像的名字 镜像名称
docker load –input 本地镜像名字
(导入镜像)
docker load < 本地镜像名字
删除镜像
docker rmi 镜像ID
(删除镜像)
-f 参数;强制性删除