原来的地址失效了,更新一下就好了
apt update
apt upgrade
install-docker.sh
root@hi3798mv300:~# install-docker.sh
[ o.k. ] ... [ 已检测 ]
[ o.k. ] ... [ 检测到 Docker 已安装,跳过安装步骤 ]
[ o.k. ] ... [ 在线安装 docker-compose 请耐心等待完成 ]
[ o.k. ] ... [ 检测并选定下载节点(感谢热心群友捐赠的下载服务器)... ]
testing ah...(4138.29 KB/s)
testing nm...(7153.09 KB/s)
testing www...(456.56 KB/s)
testing hinas...(419.47 KB/s)
using mirror: nm
下载docker-compose...(nm)
/usr/local/bin/docker-compose 100%[===============================================================================================================================>] 55.08M 9.12MB/s in 6.3s
[ o.k. ] ... [ docker-compose 安装成功 ]
root@hi3798mv300:~# install-portainer.sh
[ o.k. ] ... [ 检测到 docker 平台已安装... ]
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
[ o.k. ] ... [ 执行拉取海纳思仓库 portainer 镜像 ]
docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Run 'docker run --help' for more information
[ o.k. ] ... [ 容器管理工具已经安装,浏览器打开 http://192.168.1.100:9000 进入设置 ]
[ o.k. ] ... [ 如有疑问,请访问 https://bbs.histb.com 获得相关教程 ]
[ o.k. ] ... [ 如果显示超时无法登录,请输入命令 docker restart Portainer 即可 ]
[ o.k. ] ... [ 如果需要卸载或重装,请输入 hinas-clear portainer 命令卸载 ]
root@hi3798mv300:~#