type

1.官方的 无前缀 比如nginx,centos,ubuntu,
2.个人用户 user/nginx ,dandanfox/nginx

使用registry 镜像创建私有仓库

有问题,不能使用,还是先用官方的吧

1.create
    sudo doc run -d -p 5000:5000 registry
        这将下载并启动一个registry容器,创建本地的私有仓库服务
        默认私有仓库地址在/tmp/registry ,-v 参数修改存放路径
            doc run -d -p 5000:5000 -v /opt/data/registry:/tmp/registry registry

2.push
    doc tag nginx 127.0.0.1:5000/nginx
    doc push 127.0.0.1:5000/nginx

3.look        
    curl http://localhost:5000/v1/search

4.other complate can download from this repository
    doc pull ipaddr:5000/nginx

results matching ""

    No results matching ""