docker - nginx将80端口转发到registry:2上不能push镜像
给我你的怀抱
给我你的怀抱 2017-04-24 15:59:04
0
0
695

我是这样启动的registry

docker run -d -p 6000:5000 --restart=always --name registry -e STANDALONE=true -v /registry6000:/var/lib/registry registry:2

nginx这样转发的

server {
    listen 80;
    server_name i.com;
    location / {
        proxy_pass http://127.0.0.1:6000;
    }
}

现在是直接i.com:6000可以推送,我想直接i.com也可以推送,结果提示
Error: Status 405 trying to push repository registry

给我你的怀抱
给我你的怀抱

reply all(0)
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!