Running the docker
registry with below command always throws an error:
dev:tmp me$ docker run \\
-d --name registry-v1 \\
-e SETTINGS_
That means you have already started a container in the past with the parameter docker run --name registry-v1 ...
.
You need to delete that first before you can re-create a container with the same name with docker rm registry-v1
. When that container is sill running you need to stop it first before you can delete it with docker stop registry-v1
. Or simply choose a different name for the new container.
To get a list of existing containers and their names simply invoke docker ps -a
.