前言
某种原因,如果您的大陆服务器无法安装docker,可以尝试这个帖子的安装方法。(先用这个命令安装docker,然后运行1panel安装程序)
安装需要5-10分钟!!!!
安装需要5-10分钟!!!!
安装需要5-10分钟!!!!
安装命令
curl https://install.1panel.live/docker-install -o docker-install && sudo bash ./docker-install && rm -f ./docker-install
(复制的时候,留意一下,论坛可能自动给链接后面加了一个数字)
实际样子应该是如下图所示
注意
- 此加速地址为临时地址,可能会出现不可用的情况
- 仅限境内机器使用
- 请勿恶意刷流量
4.官方安装功能恢复之后,这个命令将会失效。
5.目前只测试了debian和ubuntu
安装需要5-10分钟!!!!
其他
GitHub地址(这个命令,只是改了脚本当中的下载地址)
defeatedperson/docker-cn (github.com)
1 个赞
还是不能安装
failure: repodata/repomd.xml from docker-ce-stable: [Errno 256] No more mirrors to try.
https://download.docker.com/linux/centos/7/x86_64/stable/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2a03:2880:f117:83:face:b00c:0:25de: Network is unreachable"
https://download.docker.com/linux/centos/7/x86_64/stable/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2a03:2880:f117:83:face:b00c:0:25de: Network is unreachable"
https://download.docker.com/linux/centos/7/x86_64/stable/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2a03:2880:f117:83:face:b00c:0:25de: Network is unreachable"
https://download.docker.com/linux/centos/7/x86_64/stable/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2a03:2880:f117:83:face:b00c:0:25de: Network is unreachable"
https://download.docker.com/linux/centos/7/x86_64/stable/repodata/repomd.xml: [Errno 14] curl#35 - "TCP connection reset by peer"
我测试的是debian和ubuntu,centos可能不太行,可以去github仓库看一下参考 defeatedperson/docker-cn (github.com)
请问无效参数是怎么回事?
root@localhost ~]# curl https://install.1panel.live/docker-install 21 -o docker-install && sudo bash ./docker-install && rm -f ./docker-install
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 21834 100 21834 0 0 12622 0 0:00:01 0:00:01 --:–:-- 12620
curl: (7) Failed to connect to 0.0.0.21: 无效的参数
curl https://install.1panel.live/docker-install -o docker-install && sudo bash ./docker-install && rm -f ./docker-install
你不是运行的我发的这个命令吧?你的拉取地址没变,拉取过程如下图
你可以尝试运行1panel安装命令,如果成功安装,那么就正常了,然后卸载1panel即可