[Docker] private registry에서 이미지 push & pull할 때, "http: server gave HTTP response to HTTPS client" 에러 해결 방법.

2021. 9. 6. 18:26Tool/docker

728x90
728x90

docker private registry에서 이미지 push && pull할 때, "http: server gave HTTP response to HTTPS client" 에러가 발생되는 것을 확인.

$docker pull registry ip:5000/jeus-master:v1.6

daemon.json에 "insecure-registries": ["registry ip:5000"] 설정.

$vi /etc/docker/daemon.json

"insecure-registries": ["registry ip:5000"]

daemon.json 설정 Ex.

도커 재시작.

$systemctl restart docker

image pull할 때, 에러 발생하지 않는 것을 확인.

$docker pull registry ip:5000/jeus-master:v1.6

728x90
728x90