Running the docker registry with below command always throws an error:
docker
dev:tmp me$ docker run \\ -d --name registry-v1 \\ -e SETTINGS_
Here is how I solved this on ubuntu 18:
$ sudo docker ps -a
For each container do:
$ sudo docker stop container_ID
$ sudo docker rm container_ID