各位大神,我这刚刚安装好HINAS系统,但是在安装docker时,总是报错。错误如下:
root@hinas:~# install-docker.sh
[ o.k. ] ... [ 已检测 ]
[ o.k. ] ... [ 在线安装 docker 请耐心等待完成。 ]
- DOWNLOAD_URL=https://mirrors.ustc.edu.cn/docker-ce
- pre_reqs='apt-transport-https ca-certificates curl software-properties-common'
++ dpkg --print-architecture
++ lsb_release -cs
- apt_repo='deb [arch=armhf signed-by=/etc/apt/keyrings/docker.gpg] https://mirrors.ustc.edu.cn/docker-ce/linux/ubuntu focal stable'
- pkgs='docker-ce docker-ce-cli containerd.io docker-compose-plugin'
- command -v gpg
- sh -c 'DEBIAN_FRONTEND=noninteractive apt-get install -y -qq apt-transport-https ca-certificates curl software-properties-common >/dev/null'
- sh -c 'install -m 0755 -d /etc/apt/keyrings'
- sh -c 'curl -fsSL "https://mirrors.ustc.edu.cn/docker-ce/linux/ubuntu/gpg" | gpg --dearmor --yes -o /etc/apt/keyrings/docker.gpg'
- sh -c 'chmod a+r /etc/apt/keyrings/docker.gpg'
- sh -c 'echo "deb [arch=armhf signed-by=/etc/apt/keyrings/docker.gpg] https://mirrors.ustc.edu.cn/docker-ce/linux/ubuntu focal stable" > /etc/apt/sources.list.d/docker.list'
- sh -c 'apt-get update -qq >/dev/null'
E: The repository 'https://mirrors.ustc.edu.cn/docker-ce/linux/ubuntu focal Release' does not have a Release file.
- sh -c 'DEBIAN_FRONTEND=noninteractive apt-get install -y -qq docker-ce docker-ce-cli containerd.io docker-compose-plugin >/dev/null'
E: Package 'docker-ce' has no installation candidate
E: Unable to locate package docker-ce-cli
E: Unable to locate package containerd.io
E: Couldn't find any package by glob 'containerd.io'
E: Couldn't find any package by regex 'containerd.io'
E: Unable to locate package docker-compose-plugin
- set +x
[ o.k. ] ... [ 启动 docker ]
Failed to enable unit: Unit file docker.service does not exist.
Failed to start docker.service: Unit docker.service not found.
[ 错误 ] docker 安装失败 [ err ]
[ o.k. ] 程序终止
请教诸位大神,谢谢!