首页 > 其他分享 >删除none镜像时,报错,提示Error response from daemon: conflict: unable to delete 6ec9a5a0fc9f (cannot be forced

删除none镜像时,报错,提示Error response from daemon: conflict: unable to delete 6ec9a5a0fc9f (cannot be forced

时间:2022-10-06 12:23:29浏览次数:57  
标签:forced none 删除 image 报错 镜像 docker

  • 查询指定镜像依赖的子镜像
#since更后是要查询的镜像ID,即想要删除的镜像ID
docker image inspect --format='{{.RepoTags}} {{.Id}} {{.Parent}}' $(docker image ls -q --filter since=63973a2bef47)
  • 查询出来后,删除掉对应的依赖的镜像,此时关联的none镜像也会被删除
    docker rmi xxx

标签:forced,none,删除,image,报错,镜像,docker
From: https://www.cnblogs.com/bangbangzoutianya/p/16757380.html

相关文章