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 dpk

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值