docker: Error response from daemon: Conflict. The container name is already in use by container You
docker: Error response from daemon: Conflict. The container name "/u1" is already in use by container "220980332c82079bd5b89b4129e8f5e77dba32ee3c0d2b0da51c961c00f39771". You have to remove (or rename)
问题:docker启动docker容器时报错
docker: Error response from daemon: Conflict. The container name is already in use by container You have to remove (or rename) that container to be able to reuse that name.
解决办法:
在此之前已经启动了相同名字的docker容器,The container name is already in use by container
You have to remove (or rename) that container to be able to reuse that name
删除这个container
想要启动一个新的容器,可以删除已经存在的容器
docker rm YOUR_CONTAINER_NAME
重新启动这个container
也可以重新启动已经存在的容器
docker start YOUR_CONTAINER_NAME
魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。
更多推荐

所有评论(0)