Docker私有仓库Registry 搭建

1. yum install docker

2. set docker : systemctl enable docker.service

3. docker pull registry

4. docker run -d -v /data/docker/registry -p 5000:5000 --restart=always --name registry registry

5. docker ps

CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS                    NAMES
8f16bc0fa69c        registry            "docker-registry"   13 seconds ago      Up 10 seconds       0.0.0.0:5000->5000/tcp   registry

 

6. open chrom : http://ip:5000

posted @ 2016-07-07 15:26  Alex~  阅读(241)  评论(0编辑  收藏  举报