I\'m trying to setup a private docker registry using the image taken from: https://github.com/docker/docker-registry
Just by running: docker run -p 5000:50
docker run -p 5000:50
Edit the config file "/etc/default/docker"
sudo vi /etc/default/docker
add the line at the end of file
DOCKER_OPTS="$DOCKER_OPTS --insecure-registry=192.168.2.170:5000"
(replace the 192.168.2.170 with your own ip address)
and restart docker service
sudo service docker restart