Docker private registry

前端 未结 4 1243
北海茫月
北海茫月 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:51

    Setting up the docker registry directly on a host is quite frustrating. The easiest way to setup a local docker repository is to use the docker-registry docker image. Simply execute

    docker run -p 5000:5000 -d registry
    

    and docker should download the official docker registry image. After that you can attach to container and customize the setup. Source: http://www.devops-insight.com/2014/12/using-private-docker-repository-registry.html

提交回复
热议问题