【已完成】docker安装失败
为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本: Linux面板8.0.5系统版本: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.shResolving dg2.bt.cn (dg2.bt.cn)... 36.133.1.8Connecting to dg2.bt.cn (dg2.bt.cn)|36.133.1.8|:443... connected.HTTP request sent, awaiting response... 200 OKLength: 17070 (17K) Saving to: ‘docker_install.sh’0K .......... ...... 100% 138M=0s2024-01-12 01:18:31 (138 MB/s) - ‘docker_install.sh’ saved https://dg2.bt.cnhttps://dg2.bt.cn--2024-01-12 01:18:31-- https://dg2.bt.cn/install/src/docker.dbResolving dg2.bt.cn (dg2.bt.cn)... 36.133.1.8Connecting to dg2.bt.cn (dg2.bt.cn)|36.133.1.8|:443... connected.HTTP request sent, awaiting response... 200 OKLength: 69632 (68K) Saving to: ‘/www/server/panel/data/db/docker.db’0K .......... .......... .......... .......... .......... 73% 1.29M 0s50K .......... ........ 100% 147M=0.04s2024-01-12 01:18:31 (1.75 MB/s) - ‘/www/server/panel/data/db/docker.db’ saved cat: /etc/redhat-release: No such file or directorycat: /etc/redhat-release: No such file or directoryHit:1 http://mirrors.tencentyun.com/ubuntu jammy InReleaseHit:2 http://mirrors.tencentyun.com/ubuntu jammy-updates InReleaseHit:3 http://mirrors.tencentyun.com/ubuntu jammy-security InReleaseHit:4 https://download.docker.com/linux/ubuntu jammy InReleaseReading 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 InReleaseHit:2 http://mirrors.tencentyun.com/ubuntu jammy-updates InReleaseHit:3 http://mirrors.tencentyun.com/ubuntu jammy-security InReleaseHit:4 https://download.docker.com/linux/ubuntu jammy InReleaseReading 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 destinationchmod: cannot access '/usr/libexec/docker/cli-plugins/docker-compose': No such file or directoryLooking in indexes: https://mirrors.aliyun.com/pypi/simpleRequirement 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 A new release of pip available: 22.3 -> 23.3.2 To update, run: pip install --upgrade pipLooking in indexes: https://mirrors.aliyun.com/pypi/simpleRequirement 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 A new release of pip available: 22.3 -> 23.3.2 To update, run: pip install --upgrade pipDocker安装失败系统信息为: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/LinuxIgn:6 https://download.docker.com/linux/ubuntu jammy/stable amd64 docker-ce-cli amd64 5:24.0.7-1~ubuntu.22.04~jammyGet:7 https://download.docker.com/linux/ubuntu jammy/stable amd64 docker-ce amd64 5:24.0.7-1~ubuntu.22.04~jammy
腾讯的轻量云服务器,地域选择是上海,换过centos 7.6、Centos 8 stream、ubuntu22.04(日志对应的系统),三个系统都是安装失败。 您好,使用下面命令处理,然后重新安装看看:
rm /var/lib/dpkg/lock-frontend
rm /var/lib/dpkg/lock
您好,由于长时间未回复,此帖子状态标记已完成状态。感谢您的使用!
页:
[1]