本文共 626 字,大约阅读时间需要 2 分钟。
docker删除映像
What happens when you deploy your app, and then you want to fix a bug, or simply release an update?
当您部署应用程序,然后要修复错误或仅发布更新时,会发生什么?
Once you have a container running, you can get its ID using docker ps
, then you use docker commit
to create a new tag for the image from it:
一旦运行了容器,就可以使用docker ps
来获取其ID,然后使用docker commit
为其创建映像的新标签:
docker commit/ :
You can also add a changelog message that lists what changed in the new version:
您还可以添加一条更改日志消息,其中列出新版本中的更改:
docker commit --change "description"/ :
翻译自:
docker删除映像
转载地址:http://mamgb.baihongyu.com/