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

Oct 30, 2020

Assuming you start a docker with name

docker run -ti --name NAME DOCKER_IMAGE

You can check if the docker is still active

docker ps

You can try to start the docker again if it is not active

docker start NAME

If docker is active, you can connect to it via

docker exec -ti NAME bash

You can delete the docker name if it is no longer active

docker rm NAME

NOTE: Start Docker With Multiple Tty

❤️ Is this article helpful?

Buy me a coffee ☕ or support my work via PayPal to keep this space 🖖 and ad-free.

Do send some 💖 to @d_luaz or share this article.

✨ By Desmond Lua

A dream boy who enjoys making apps, travelling and making youtube videos. Follow me on @d_luaz

👶 Apps I built

Travelopy - discover travel places in Malaysia, Singapore, Taiwan, Japan.