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 code example
Example: 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