I am trying install docker from there instructions: https://linuxconfig.org/how-to-install-docker-on-ubuntu-18-04-bionic-beaver

I am running the command:

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

And get:

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

I ran this program and it fixed my certificate store:

$ sudo update-ca-certificates


I will suggest to run below command first to install the certificates first before -

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

I have documented the steps to installdocker-ce in below tutorial. Hope this will help -


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.