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

前端 未结 15 609
攒了一身酷
攒了一身酷 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条回答
  •  暖寄归人
    2020-11-30 18:58

    In addition to the above answers, I am adding what worked in "docker for mac" for me:

    1. Click on the docker whale icon from mac tray on top right corner of your screen.
    2. Click on Preferences -> Daemon.
    3. Add your IP and port to the insecure registries.
    4. Restart the Daemon.

提交回复
热议问题