ubuntu配置docker镜像源
时间: 2023-10-19 17:33:45 浏览: 138
要配置Ubuntu的Docker镜像源,你可以按照以下步骤进行操作:
1. 打开终端,以root权限登录。
2. 执行命令 vi /etc/apt/sources.list.d/docker.list 打开docker.list文件。
3. 在打开的文件中添加以下内容:deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable
4. 保存并关闭文件。
5. 执行命令 apt update 更新软件源。
6. 执行命令 apt install docker-ce 安装Docker。
这样,你就成功配置了Ubuntu的Docker镜像源。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [Ubuntu下安装Docker及镜像源设置](https://blog.csdn.net/M82_A1/article/details/91957886)[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_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [docker_mirror:查找最快的docker镜像](https://download.csdn.net/download/weixin_42129300/18581726)[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_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [Ubuntu安装Docker并配置镜像](https://blog.csdn.net/m0_46521785/article/details/120396103)[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_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文