Answers for "docker run -d --hostname my-rabbit --name some-rabbit rabbitmq:3-management docker: Error response from daemon: Conflict. The container name "/some-rabbit" is already in use by container"

0

docker run -d --hostname my-rabbit --name some-rabbit rabbitmq:3-management docker: Error response from daemon: Conflict. The container name "/some-rabbit" is already in use by container

step1: remove all images which are exicuted previously 
docker ps -a
clear all containers
docker rm 9e738360f55b  # 9e738360f55b<-- is a container id
step2: try to exicte command now
docker run -d --hostname my-rabbit --name some-rabbit rabbitmq:3-management
Posted by: Guest on March-26-2021

Code answers related to "docker run -d --hostname my-rabbit --name some-rabbit rabbitmq:3-management docker: Error response from daemon: Conflict. The container name "/some-rabbit" is already in use by container"

Browse Popular Code Answers by Language