도커를 설치할 수 없습니다. 컬에 문제가 있습니다.

도커를 설치할 수 없습니다. 컬에 문제가 있습니다.

거기 지침에서 도커를 설치하려고합니다. https://linuxconfig.org/how-to-install-docker-on-ubuntu-18-04-bionic-beaver

다음 명령을 실행하고 있습니다.

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

그리고 얻다:

curl: (77) error setting certificate verify locations:
  CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: /etc/ssl/certs
gpg: no valid OpenPGP data found.

답변1

이 프로그램을 실행했더니 인증서 저장소가 수정되었습니다.

$ sudo update-ca-certificates

답변2

먼저 인증서를 설치하기 전에 먼저 아래 명령을 실행하는 것이 좋습니다.

$ sudo apt install apt-transport-https ca-certificates curl software-properties-common

아래 튜토리얼에서 docker-ce를 설치하는 단계를 문서화했습니다. 이것이 도움이 되기를 바랍니다 -

https://crunchytechbytz.wordpress.com/2018/06/25/how-to-install-docker-in-ubuntu-18-04/

관련 정보