Docker private registry

前端 未结 4 1240
北海茫月
北海茫月 2021-01-06 12:17

On a virtual server ubuntu 14.04 I have installed docker and I try to push to a local registry an image. I followed this guide on the Docker blog but when I try to push the

4条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-06 12:50

    simply running this docker run -p 5000:5000 -d registry will get you in to trouble with https.

    I found this tutorial helpful : How To Set Up a Private Docker Registry on Ubuntu 14.04

    It basically sets up a reverse proxy with nginx to access the private registry. I have 1 vagrant box with the registry and a different vagrant box pulling stuff from this registry. It works :)

    Hope that helps

提交回复
热议问题