解决docker镜像无法删除的问题
发现问题
来自守护进程的错误响应:冲突:无法删除050f26b6caca(必须强制) - 映像在多个存储库中被引用
Error response from daemon: conflict: unable to delete 050f26b6caca (must be forced) - image is referenced in multiple repositories
解决问题
先根据镜像名称(REPOSITORY
)删除,再根据镜像ID(IMAGE ID
)删除
命令参考:
docker rmi REPOSITORY
docker rmi IMAGE ID
let the world have no hard-to-write code ^-^