http: server gave HTTP response to HTTPS client

    [Docker] private registry에 이미지 업로드 안됨 - Get https://localhost:5000/v2/: http: server gave HTTP response to HTTPS client

    docker에서 private registry를 만들어서 이미지를 업로드하고자 했다. docker build --tag :5000/test.0.1 . docker push :5000/test.0.1 docker push를 하면 다음과 같은 에러와 함께 이미지가 올라가지지 않았다. Get https://:5000/v2/: http: server gave HTTP response to HTTPS client 기본적으로 private registry 에서 https 프로토콜을 지원하지 않아서 생기는 것인데, 이를 무시하고 http 프로토콜을 사용하게 하려면 아래 내용을 추가해주면 된다. 방법1 아래 경로의 파일에서 insecure-registries 에 IP와 port를 추가해주면 된다. nano /etc/d..