What is docker‘s official GPG key

  • 问题描述

    安装docker过程中需要add Docker’s official GPG key.

    curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
    
  • Why do we need

    This is not Docker-specific. Most Linux package managers have the ability to validate the itegrity of a software package before installation by verifying it’s PGP(GPG) key.

    Most modern Linux distributions come with a set of PGP keys installed for the default repositories for that distribution. As Docker updates their packages at different frequencies than the distibutions, they have chosen to run their own package repositories for major distributions. When you’re configuring your system to install packages from one of those repositories, you have to add the public key so you can validate the image.

    This is not something that has to be done - RedHat’s yum has --nogpgcheck, and Debian’s dpkg has --no-debsig, both which allow skipping validation of the signatures. The installer does so at their own risk.

  • PGP VS. GPG

  • PGP - Pretty Goog Privacy

    It was created in the 1990s and is currently owned by security software company Symantec.

  • Open PGP

    PGP is the backbone of Open PGP, which is an open source standard that allows PGP to be used in software that is typically free to the public.

  • GPG-GNU Privacy Guard

    A different implementation of the Open PGP.

    GPG is defined by RFC 4880 (the official name for the Open PGP standard)

  • References

  1. Why do we require a GPG key downloading Docker packages?
  2. PGP vs. GPG: What’s the Difference?
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值