无法安装docker:
sudo sh -c "echo deb https://get.docker.com/ubuntu docker main > /etc/apt/sources.list.d/docker.list"
Run Code Online (Sandbox Code Playgroud)
错误日志:
GPG错误:https://get.docker.com docker发布:由于公钥不可用,无法验证以下签名:NO_PUBKEY D8576A8BA88D21E9
似乎入门页面已更改。
2017 年 8 月
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
https://docs.docker.com/engine/installation/linux/docker-ce/debian/#install-using-the-repository
2019 年 8 月
安装页面的链接又变了
https://docs.docker.com/install/linux/docker-ce/debian
如果不想使用手册中的这些命令http://docs.docker.com/linux/step_one/:
$ sudo apt-get update
$ sudo apt-get install wget
$ wget -qO- https://get.docker.com/ | sh
Run Code Online (Sandbox Code Playgroud)
这就是你需要的:
$ wget -qO- https://get.docker.com/gpg | sudo apt-key add -
Run Code Online (Sandbox Code Playgroud)
PS: https: //docs.docker.com/installation/debian/
| 归档时间: |
|
| 查看次数: |
5666 次 |
| 最近记录: |