0
点赞
收藏
分享

微信扫一扫

docker: Error response from daemon: Conflict. The container name

芷兮离离 2022-06-20 阅读 133

docker: Error response from daemon: Conflict. The container name “/mysql” is already in use by container “27e9834dce87b6cac674945d7917ce2f9c52537569420275fd05b3e5e6460070”. You have to remove (or rename) that container to be able to reuse that name.
出现上述的错误,是因为docker容器里面已经存在,如果不需要,则删除。docker rm fb087642b497(该containerID)
如果想要再次使用,使用

docker restart 镜像名

则可以重启该container容器。


举报

相关推荐

0 条评论