본문 바로가기
CS/TIL

[Docker] harbor error

by DenverAlmighty 2024. 3. 5.
반응형

velog 마이그레이션

시리즈 : 지하철에서 OO 마스터하기 - 도커 

원글 : harbor error (2022년 11월 8일)

Error response from daemon: Get "https://harbor.cloudnetworks.co.kr/v2/": dial tcp: lookup harbor.cloudnetworks.co.kr on 203.x.x.x.x: no such host

vi /etc/resolv.conf
#Generated by NetworkManager
nameserver 203.x.x.x.x
nameserver 168.126.63.1

->

#Generated by NetworkManager
nameserver
nameserver 168.126.63.1

Error response from daemon: Get "https://harbor.cloudnetworks.co.kr/v2/": dial tcp: lookup harbor.cloudnetworks.co.kr on : no such host

/etc/hosts 확인했더니 hostname에 오타있었음

Error response from daemon: Get "https://harbor/v2/": x509: certificate signed by unknown authority

도메인 확인
인증서 harbor 로 없을듯

Authenticating with existing credentials...

Login did not succeed, error: Error response from daemon: Get "https://harbor.bd.io/v2/": x509: certificate is valid for 172.20.72.1, harbor.cloudnetworks.co.kr, harbor, not harbor.bd.io
Username (admin): yjlee
Password:
Error response from daemon: Get "https://harbor.bd.io/v2/": x509: certificate is valid for 172.20.72.1, harbor.cloudnetworks.co.kr, harbor, not harbor.bd.io

인증서 다시 가져와야함

728x90
반응형