docker - 如何安装 docker-ce?对于版本 18.06.1~ce~3-0~debian
问题描述
在文档中,它提到了运行命令:
sudo apt-get install docker-ce=<VERSION_STRING> docker-ce-cli=<VERSION_STRING> containerd.io
但我认为此命令适用于此列表中最新版本的软件包:
$ apt-cache madison docker-ce
docker-ce | 5:19.03.5~3-0~debian-stretch | https://download.docker.com/linux/debian stretch/stable amd64 Packages
docker-ce | 5:19.03.4~3-0~debian-stretch | https://download.docker.com/linux/debian stretch/stable amd64 Packages
docker-ce | 5:19.03.3~3-0~debian-stretch | https://download.docker.com/linux/debian stretch/stable amd64 Packages
docker-ce | 5:19.03.2~3-0~debian-stretch | https://download.docker.com/linux/debian stretch/stable amd64 Packages
docker-ce | 5:19.03.1~3-0~debian-stretch | https://download.docker.com/linux/debian stretch/stable amd64 Packages
docker-ce | 5:19.03.0~3-0~debian-stretch | https://download.docker.com/linux/debian stretch/stable amd64 Packages
docker-ce | 5:18.09.9~3-0~debian-stretch | https://download.docker.com/linux/debian stretch/stable amd64 Packages
docker-ce | 5:18.09.8~3-0~debian-stretch | https://download.docker.com/linux/debian stretch/stable amd64 Packages
docker-ce | 5:18.09.7~3-0~debian-stretch | https://download.docker.com/linux/debian stretch/stable amd64 Packages
docker-ce | 5:18.09.6~3-0~debian-stretch | https://download.docker.com/linux/debian stretch/stable amd64 Packages
docker-ce | 5:18.09.5~3-0~debian-stretch | https://download.docker.com/linux/debian stretch/stable amd64 Packages
docker-ce | 5:18.09.4~3-0~debian-stretch | https://download.docker.com/linux/debian stretch/stable amd64 Packages
docker-ce | 5:18.09.3~3-0~debian-stretch | https://download.docker.com/linux/debian stretch/stable amd64 Packages
docker-ce | 5:18.09.2~3-0~debian-stretch | https://download.docker.com/linux/debian stretch/stable amd64 Packages
docker-ce | 5:18.09.1~3-0~debian-stretch | https://download.docker.com/linux/debian stretch/stable amd64 Packages
docker-ce | 5:18.09.0~3-0~debian-stretch | https://download.docker.com/linux/debian stretch/stable amd64 Packages
docker-ce | 18.06.3~ce~3-0~debian | https://download.docker.com/linux/debian stretch/stable amd64 Packages
docker-ce | 18.06.2~ce~3-0~debian | https://download.docker.com/linux/debian stretch/stable amd64 Packages
docker-ce | 18.06.1~ce~3-0~debian | https://download.docker.com/linux/debian stretch/stable amd64 Packages
docker-ce | 18.06.0~ce~3-0~debian | https://download.docker.com/linux/debian stretch/stable amd64 Packages
docker-ce | 18.03.1~ce-0~debian | https://download.docker.com/linux/debian stretch/stable amd64 Packages
我想为 docker 版本安装18.06.1~ce~3-0~debian
包18.06.1
。使用上面的语法:
$ sudo apt-get install docker-ce=18.06.1~ce~3-0~debian docker-ce-cli=18.06.1~ce~3-0~debian containerd.io
给出以下错误:
E: Version '18.06.1~ce~3-0~debian' for 'docker-ce-cli' was not found
安装 docker-ce 的正确语法是什么?
解决方案
推荐阅读
- angular - Microsoft Edge 中的 Ngx-Editor 不保存格式
- java - 使用 Log4J 进行分类记录
- django - Heroku:部署 Django Rest 框架 + Vue
- android - 我应该为每个 http 连接使用一个加载器还是一个加载器就足够了?
- javascript - 如何为jsGrid中的每一行绑定动态选择选项?
- c# - 在 DataGridView 中显示 BindingList<(int, int, int)>
- cmake - CMake 在生成阶段只生成一个文件
- python - 无法在 matplotlib 中保存带注释的图像
- javascript - 使用 EvaluateJavaScript 单击按钮的意外行为
- sdk - 下载 FairPlay 流媒体服务器 SDK