在一台虚拟机上配置并启动 Docker registry
在另一台虚拟机上 /etc/docker/daemno.json 配置了 insecure-registries,然后重启 docker 服务
但在 push 镜像到私 Docker registry 时总是出现 http: server gave HTTP response to HTTPS client
在一台虚拟机上配置并启动 Docker registry
在另一台虚拟机上 /etc/docker/daemno.json 配置了 insecure-registries,然后重启 docker 服务
但在 push 镜像到私 Docker registry 时总是出现 http: server gave HTTP response to HTTPS client
|
silverfoxOct 15, 2019 via iPhone
1
可以用 docker info 命令查看配置是否生效
|
|
3
路径拼写有误,应该是 /etc/docker/daemon.json
|
|
yeya24Oct 15, 2019 via iPhone
4
看看 docker daemon 的日志
|
|
LatinOct 22, 2019
5
command
docker login xxx.xxx.com:port config { "insecure-registries": [ " xxx.xxx.com:port" ], "registry-mirrors": [ "https://docker.mirrors.ustc.edu.cn" ] } |