Running the docker
registry with below command always throws an error:
dev:tmp me$ docker run \\
-d --name registry-v1 \\
-e SETTINGS_
When you are building a new image you often want to run a new container each time and with the same name. I found the easiest way was to start the container with the --rm option:
--rm Automatically remove the container when it exits
e.g.
docker run --name my-micro-service --rm
Sadly it's used almost randomly in the examples from the docs