为了能快速了解并处理您的问题,请提供以下基础信息: 系统版本:Ubuntu 22.04 (Jammy Jellyfish) x86_64(Py3.7.8) 问题描述:宝塔面板左侧的docker点击安装一直安装不上 相关截图(日志、错误):正在选择下载节点... --2024-01-12 01:18:31-- https://dg2.bt.cn/install/0/docker_install.sh Resolving dg2.bt.cn (dg2.bt.cn)... 36.133.1.8 Connecting to dg2.bt.cn (dg2.bt.cn)|36.133.1.8|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 17070 (17K) [application/octet-stream] Saving to: ‘docker_install.sh’ 0K .......... ...... 100% 138M=0s 2024-01-12 01:18:31 (138 MB/s) - ‘docker_install.sh’ saved [17070/17070] https://dg2.bt.cn https://dg2.bt.cn --2024-01-12 01:18:31-- https://dg2.bt.cn/install/src/docker.db Resolving dg2.bt.cn (dg2.bt.cn)... 36.133.1.8 Connecting to dg2.bt.cn (dg2.bt.cn)|36.133.1.8|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 69632 (68K) [application/octet-stream] Saving to: ‘/www/server/panel/data/db/docker.db’ 0K .......... .......... .......... .......... .......... 73% 1.29M 0s 50K .......... ........ 100% 147M=0.04s 2024-01-12 01:18:31 (1.75 MB/s) - ‘/www/server/panel/data/db/docker.db’ saved [69632/69632] cat: /etc/redhat-release: No such file or directory cat: /etc/redhat-release: No such file or directory Hit:1 http://mirrors.tencentyun.com/ubuntu jammy InRelease Hit:2 http://mirrors.tencentyun.com/ubuntu jammy-updates InRelease Hit:3 http://mirrors.tencentyun.com/ubuntu jammy-security InRelease Hit:4 https://download.docker.com/linux/ubuntu jammy InRelease Reading package lists... E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 102569 (apt-get) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it? Hit:1 http://mirrors.tencentyun.com/ubuntu jammy InRelease Hit:2 http://mirrors.tencentyun.com/ubuntu jammy-updates InRelease Hit:3 http://mirrors.tencentyun.com/ubuntu jammy-security InRelease Hit:4 https://download.docker.com/linux/ubuntu jammy InRelease Reading package lists... E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 102569 (apt-get) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it? curl: (23) Failure writing output to destination chmod: cannot access '/usr/libexec/docker/cli-plugins/docker-compose': No such file or directory Looking in indexes: https://mirrors.aliyun.com/pypi/simple Requirement already satisfied: pytz in ./pyenv/lib/python3.7/site-packages (2019.3) WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv [notice] A new release of pip available: 22.3 -> 23.3.2 [notice] To update, run: pip install --upgrade pip Looking in indexes: https://mirrors.aliyun.com/pypi/simple Requirement already satisfied: docker in ./pyenv/lib/python3.7/site-packages (4.2.0) Requirement already satisfied: six>=1.4.0 in ./pyenv/lib/python3.7/site-packages (from docker) (1.16.0) Requirement already satisfied: requests!=2.18.0,>=2.14.2 in ./pyenv/lib/python3.7/site-packages (from docker) (2.28.1) Requirement already satisfied: websocket-client>=0.32.0 in ./pyenv/lib/python3.7/site-packages (from docker) (1.2.3) Requirement already satisfied: charset-normalizer<3,>=2 in ./pyenv/lib/python3.7/site-packages (from requests!=2.18.0,>=2.14.2->docker) (2.0.12) Requirement already satisfied: certifi>=2017.4.17 in ./pyenv/lib/python3.7/site-packages (from requests!=2.18.0,>=2.14.2->docker) (2019.11.28) Requirement already satisfied: idna<4,>=2.5 in ./pyenv/lib/python3.7/site-packages (from requests!=2.18.0,>=2.14.2->docker) (2.8) Requirement already satisfied: urllib3<1.27,>=1.21.1 in ./pyenv/lib/python3.7/site-packages (from requests!=2.18.0,>=2.14.2->docker) (1.26.7) WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv [notice] A new release of pip available: 22.3 -> 23.3.2 [notice] To update, run: pip install --upgrade pip Docker安装失败 系统信息为:ubuntu.jammy 内核信息:Linux VM-16-15-ubuntu 5.15.0-91-generic #101-Ubuntu SMP Tue Nov 14 13:30:08 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux Ign:6 https://download.docker.com/linux/ubuntu jammy/stable amd64 docker-ce-cli amd64 5:24.0.7-1~ubuntu.22.04~jammy Get:7 https://download.docker.com/linux/ubuntu jammy/stable amd64 docker-ce amd64 5:24.0.7-1~ubuntu.22.04~jammy [22.6 MB]
腾讯的轻量云服务器,地域选择是上海,换过centos 7.6、Centos 8 stream、ubuntu22.04(日志对应的系统),三个系统都是安装失败。 |
|