docker 使用时log http: server gave HTTP response to HTTPS client

需要在docker启动服务加上参数

DOCKER_OPTS="--insecure-registry 192.168.0.0/16 "
upstart 系统的话 参数在 /etc/default/docker
配合/etc/init/dcoker.conf

如果是systemd 也有相应的位子

然后重启docker 服务

https://github.com/docker/docker-snap/issues/22

你可能感兴趣的:(docker 使用时log http: server gave HTTP response to HTTPS client)