How to get remote access to a private docker-registry?

前端 未结 15 620
攒了一身酷
攒了一身酷 2020-11-30 18:45

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

15条回答
  •  旧时难觅i
    2020-11-30 19:11

    Ok. Here is how I got it to work. If you see this error in docker 1.3.2 or above, do this

    go to /etc/sysconfig/docker

    other_args="--insecure-registry 10.0.0.26:5000"
    

    and run

    sudo service docker restart

提交回复
热议问题