docker: Error response from daemon: Conflict. The container name is already in use by container You

Problem: Docker reports an error when starting the docker container

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.

Solution:

The container name is already in use by container
You have to remove (or rename) that container to be able to reuse that name

Delete this container

To start a new container, delete the existing container

docker rm YOUR_CONTAINER_NAME

Restart this container

You can also restart existing containers

docker start YOUR_CONTAINER_NAME

Supongo que te gusta

Origin blog.csdn.net/m0_37450089/article/details/131497584
Recomendado
Clasificación