在docker安装ubuntu
时间: 2023-11-10 10:17:31 浏览: 136
Ubuntu离线安装docker
在安装Docker Engine时,可以按照以下步骤进行操作:
1. 首先,您需要设置Docker的软件源。可以使用以下命令将软件源配置为阿里云镜像站点:
```
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg http://mirrors.aliyun.com/docker-ce/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
#### 引用[.reference_title]
- *1* *2* [Docker安装Ubuntu详细过程(个人学习笔记)](https://blog.csdn.net/sjy072411/article/details/125025159)[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^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *3* [Ubuntu18.04安装Docker](https://download.csdn.net/download/weixin_38675969/14040601)[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^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文