阿里云的Docker ce 镜像不能正常安装

命令:

curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun

报错:
图片.png

root@ubuntu:~# curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
# Executing docker install script, commit: 7d96bd3c5235ab2121bcb855dd7b3f3f37128ed4
+ sh -c 'apt-get -qq update >/dev/null'
E: Failed to fetch https://mirrors.aliyun.com/docker-ce/linux/ubuntu/dists/questing/stable/binary-amd64/Packages.bz2  File has unexpected size (8680 != 8869). Mirror sync in progress? [IP: 47.246.23.181 443]
   Hashes of expected file:
    - Filesize:8869 [weak]
    - SHA512:a2f0a5d4d085df28f7e364e3199740d66ddaf48b1578a61785915fd4dc2d3383a174a1294c50f31d8bceee92ef35136813070c8b831b85aba7e15d1629fbbe9c
    - SHA256:10e51fc6e84f48ea8b83666d9c3f921497957059621d9a040e62dede1ba32cb2
    - SHA1:e460b2ab5245e695faf52989bab2c5178e0de866 [weak]
    - MD5Sum:226b2c6a89eac6046a1daec65a5777db [weak]
   Release file created at: Tue, 25 Nov 2025 14:16:13 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.

当前系统版本:

root@ubuntu:~# lsb_release -a
No LSB modules are available.
Distributor ID:    Ubuntu
Description:    Ubuntu 25.10
Release:    25.10
Codename:    questing
root@ubuntu:~# uname -a
Linux ubuntu 6.17.0-7-generic #7-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 18 10:10:29 UTC 2025 x86_64 GNU/Linux

展开
收起
1591574431264855 2025-11-26 11:23:41 31 分享 版权
0 条回答
写回答
取消 提交回答
问答分类:
问答地址:

阿里云拥有国内全面的云原生产品技术以及大规模的云原生应用实践,通过全面容器化、核心技术互联网化、应用 Serverless 化三大范式,助力制造业企业高效上云,实现系统稳定、应用敏捷智能。拥抱云原生,让创新无处不在。

收录在圈子:
+ 订阅
还有其他疑问?
咨询AI助理