全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
楼主: comet
打印 上一主题 下一主题

已解决 请教下ubuntu 的docker安装脚本

[复制链接]
跳转到指定楼层
1#
发表于 2023-2-4 22:33:16 | 显示全部楼层 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 comet 于 2023-2-5 12:18 编辑

甲骨文的几台ubuntu安装docker都出错
不知道还有什么好的办法没


root@ubuntu:~# wget -qO- get.docker.com | bash
# Executing docker install script, commit: 66474034547a96caa0a25be56051ff8b726a1b28
+ sh -c 'apt-get update -qq >/dev/null'
E: 仓库 “https://download.docker.com/linux/debian focal Release” 没有 Release 文件。
E: 仓库 “http://ppa.launchpad.net/morphis/anbox-support/ubuntu focal Release” 没有 Release 文件。
root@ubuntu:~#


2#
 楼主| 发表于 2023-2-4 22:56:01 | 显示全部楼层
tilm 发表于 2023-2-4 22:47
你的 sources.list 配置错了吧

我用一件脚本和手动的都装不上
3#
 楼主| 发表于 2023-2-4 23:00:57 | 显示全部楼层
本帖最后由 comet 于 2023-2-4 23:02 编辑

# deb http://ports.ubuntu.com/ focal main restricted

# deb http://ports.ubuntu.com/ focal-updates main restricted
# deb http://ports.ubuntu.com/ focal-security main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://ports.ubuntu.com/ focal main restricted
# deb-src http://archive.ubuntu.com/ubuntu focal main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://ports.ubuntu.com/ focal-updates main restricted
# deb-src http://archive.ubuntu.com/ubuntu focal-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://ports.ubuntu.com/ focal universe
4#
 楼主| 发表于 2023-2-4 23:03:16 | 显示全部楼层

这个第二步就是我发帖的错误
5#
 楼主| 发表于 2023-2-4 23:13:32 | 显示全部楼层

用你的这个脚本第二步可以,装上docker-compose了,就是第一步docker出现我发帖的那个错误
6#
 楼主| 发表于 2023-2-4 23:16:51 | 显示全部楼层
tilm 发表于 2023-2-4 23:07
你刚刚怎么回复一堆 debina 源,现在又是 ubuntu 源?

刚才我同时打开另外一台机,复制错了。。
7#
 楼主| 发表于 2023-2-5 00:08:01 | 显示全部楼层
zp96324511 发表于 2023-2-4 23:57
我一般直接  apt install docker.io

谢谢解答!
竟然过去了
8#
 楼主| 发表于 2023-2-5 12:17:30 | 显示全部楼层
tem 发表于 2023-2-5 03:41
Docker官网有一键脚本。。。

甲骨文的ubuntu用那个一键不好使。还是dd过dd萌咖的20.04
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-5-5 18:15 , Processed in 0.061878 second(s), 8 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表