ubuntudocker-ce19.03
时间: 2023-08-26 19:17:13 浏览: 190
回答: 您想要知道如何在Ubuntu上安装Docker CE版本19.03。根据引用和引用的信息,以下是安装Docker CE 19.03的步骤:
1. 首先,确保您的系统已更新并安装了必要的软件包。
```
sudo apt-get update
sudo apt-get install -y apt-transport-https ca-certificates curl software-properties-common
```
2. 添加Docker的官方GPG密钥。
```
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
```
3. 添加Docker的APT存储库。
```
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
```
4. 安装Docker CE。
```
sudo apt-get update
sudo apt-get install -y docker-ce docker-ce-cli containerd.io
```
根据引用,如果您想安装其他版本的Docker CE,您可以使用以下命令列出可用版本并选择特定版本进行安装:
```
sudo apt-get update
apt-cache madison docker-ce
sudo apt-get install docker-ce=<VERSION_STRING> docker-ce-cli=<VERSION_STRING> containerd.io
```
请注意,`<VERSION_STRING>`应替换为您想要安装的具体版本号。
希望这些步骤可以帮助您在Ubuntu上成功安装Docker CE 19.03。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [dependency problems prevent configuration of docker-ce: docker-ce depends on docker-ce-cli;...](https://blog.csdn.net/lzp12345677/article/details/115380941)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [linux安装docker-ce](https://blog.csdn.net/fwdwqdwq/article/details/126433723)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文