报错 conflict: unable to delete 394 (must be forced) - image is referenced in multiple repositories

在使用 docker rmi 命令删除镜像报错 Error response from daemon: conflict: unable to delete 394204d45d87 (must be forced) - image is referenced in multiple repositories

 

在两个镜像的 id 一样时,使用 docker rmi 命令删除镜像报错

报错 conflict: unable to delete 394 (must be forced) - image is referenced in multiple repositories_第1张图片

解决办法

在两个镜像的 ID  一样时,需要制定镜像名加标签的方式删除,而不是用 ID 删除

报错 conflict: unable to delete 394 (must be forced) - image is referenced in multiple repositories_第2张图片

 

 

你可能感兴趣的:(docker)