Я установил докера в своей системе человечности несколько месяцев назад. То время это хорошо работало. Но сегодня я видел эту ошибку при выполнении. apt-get update
команда.
Failed to fetch https://download.docker.com/linux/ubuntu/dists/trusty/stable/binary-amd64/Packages server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
W: Failed to fetch https://download.docker.com/linux/ubuntu/dists/trusty/edge/binary-amd64/Packages server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
E: Some index files failed to download. They have been ignored, or old ones used instead
Команда получения по запросу докера не работала. Я удалил докера при помощи ниже команды.
sudo apt-get remove docker docker-engine docker-ce docker.io
но все еще сталкиваясь с той же проблемой.
Также попробованный для выполнения
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
согласно учебному руководству докера. Но добираясь ниже ошибки:
curl: (60) SSL certificate problem: self signed certificate in certificate chain
More details here: http://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.
gpg: no valid OpenPGP data found.
проблема о репозитории, находящемся в/etc/apt/sources.list.d папке или непосредственно в/etc/apt/sources.list файле. После того как Вы удаляете его оттуда, необходимо быть хороши пойти.
Однако я предложил бы фиксировать пропавших без вести ключи GPG, как объяснено в https://docs.docker.com/install/linux/docker-ce/ubuntu/#set-up-the-repository как предложенный пользователь Rovo