curl : could not resolve host : download.docker.com

숭글·2023년 6월 6일
0

GPG Key를 추가하기위해 아래와 같은 명령어를 쳤다가 에러가 났다.

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

이런 에러..

curl : could not resolve host : download.docker.com

옵션에 4를 붙여서 해결했다.

curl -4fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
profile
Hi!😁 I'm Soongle. Welcome to my Velog!!!

0개의 댓글