简体   繁体   English

添加在Docker安装中详细介绍的新GPG密钥

[英]add new GPG key detailed in Docker installation

completely new to 'Docker', wondered what this means in installation instructions. 对于“ Docker”完全陌生,想知道安装说明中的含义。 https://docs.docker.com/engine/installation/linux/ubuntulinux/ https://docs.docker.com/engine/installation/linux/ubuntulinux/

4/ Add the new GPG key.
 sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --   recv-keys 58118E89F3A912897C070ADBF76221572C52609D

This is part of the SecureApt (strong crypto to validate downloaded packages) 这是SecureApt的一部分(用于验证已下载软件包的强加密货币

apt-key is a program that is used to manage a keyring of gpg keys for secure apt. apt-key是用于管理gpg密钥的密钥环以实现安全apt的程序。
gpg is the tool used in secure apt to sign files and check their signatures gpg是用于安全签名文件和检查其签名的工具

That works... if the key server is up (see issue 13555 , and " Key server times out while installing docker on Ubuntu 14.04 ") 这可以工作...如果密钥服务器已启动(请参阅问题13555 ,并且“ 在Ubuntu 14.04上安装 docker时 密钥服务器超时 ”)

The pool hkp://p80.pool.sks-keyservers.net is a subset of servers which are also available on port 80. It's more friendly to firewalls and companies. hkp://p80.pool.sks-keyservers.net是服务器的子集,也可以在端口80上使用。它对防火墙和公司更友好。

For some reason, most docker documentations and tutorials are giving that p80 pool for installation, without further explanation. 由于某些原因,大多数Docker文档和教程都给出了用于安装的p80池,而无需进一步说明。

The thing is, this is a small pool of servers and they fail very often in practice. 事实是,这是一小群服务器,实际上它们经常失败。 (The fact that most tutorials are sending people to that small pool probably doesn't help either). (事实上​​,大多数教程都将人们送往那个小水池,这可能也无济于事)。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法通过 apt-key 添加 docker GPG 密钥 - Unable to add docker GPG key via apt-key Docker EE 安装:gpg:找不到有效的 OpenPGP 数据 [已解决] - Docker EE installation: gpg: no valid OpenPGP data found [SOLVED] 添加 docker GPG 密钥时出现错误(gpg:无法打开“-”:没有此类文件或目录) - Getting error (gpg: can't open '–': No such file or directory)while adding docker GPG key “curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -” 我们应该在这里添加一些密钥吗? - “curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -” are we supposed to add some key here? 尝试安装DOCKER GPG密钥接收错误:卷曲:选项'-'未知 - Trying to install DOCKER GPG key recieving error: Curl: option '-' is unknown gitlab-runner exec docker-注入gpg密钥 - gitlab-runner exec docker - inject gpg key 为什么官方docker python映像包含GPG_KEY环境变量? - Why do the official docker python images include a GPG_KEY environment variable? 在 docker 容器中添加 GPG 密钥会导致“找不到有效的 OpenPGP 数据” - Adding GPG key inside docker container causes “no valid OpenPGP data found” 如何使用我的 gpg 密钥解密 docker 容器中的文件而不将其保存在图像中? - How do I use my gpg key to decrypt a file in a docker container without saving it in the image? 添加 URL 路径前缀到 artifactory 安装 (Docker) - Add a URL path prefix to artifactory installation (Docker)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM