服务器:CentOS7 (最小化安装)
docker 离线安装,能正常使用
管理器能正常访问,自检没问题,但是在初始化的时候就报错了
报错信息如下:
`Y,User,root
Y,Selinux,Permissive
Y,Firewalld,not running
Y,CPU,4
Y,Memory,20
Y,docker,executable
Y,dockerd,executable
Y,MaxMapCount,65530
Y,SysFileNr,2056577
Y,IPv4Forward,1
Y,DockerCgroupDrive,cgroupfs
Y,DockerdFileNr,1048576
Y,Umask,0022
API 模式启动 ServerId 服务
已加载镜像: registry.cn-hangzhou.aliyuncs.com/mdpublic/mingdaoyun-community:4.1.1
已加载镜像: registry.cn-hangzhou.aliyuncs.com/mdpublic/mingdaoyun-doc:1.2.0
Creating network "script_default" with the default driver
Failed to Setup IP tables: Unable to enable SKIP DNAT rule: (iptables failed: iptables --wait -t nat -I DOCKER -i br-d1c22dcd75a8 -j RETURN: iptables: No chain/target/match by that name.
(exit status 1))
完整启动服务预计需要等待 5 分钟,启动期间请勿访问服务!
./service.sh:行 135: wget: 未找到命令
CommunityVersion: 4.1.1
Name: localhost.localdomain
ExternalIP:
InternalIP: 192.168.1.166
CPU(Core): 4
Mem(GB): 20.53
Disk: /dev/mapper/centos-root 47G 24G 24G 51% / /dev/sda1 1014M 151M 864M 15% /boot
Kernel: Linux localhost.localdomain 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
check:
Y,User,root
Y,Selinux,Permissive
Y,Firewalld,not running
Y,CPU,4
Y,Memory,20
Y,docker,executable
Y,dockerd,executable
Y,MaxMapCount,262144
Y,SysFileNr,2056577
Y,IPv4Forward,1
Y,DockerCgroupDrive,cgroupfs
Y,DockerdFileNr,1048576
Y,Umask,0022
installer:
root 1939 0.0 0.1 572440 28672 pts/0 Sl 21:37 0:00 ./bin/amd64/mingdaoyun_private_deployment_captain --path /data/mingdao --port 38880
root 5277 0.0 0.0 112824 968 pts/0 S 21:42 0:00 grep mingdaoyun_private_deployment_captain
root 1933 0.0 0.0 113412 1588 pts/0 S 21:37 0:00 /bin/bash ./service.sh startServerIdExec
root 1983 0.3 0.0 113548 1816 pts/0 S 21:37 0:01 /bin/bash ./service.sh startall
root 5279 0.0 0.0 112824 968 pts/0 S 21:42 0:00 grep service.sh
-rw-r--r--. 1 root root 172 5 月 24 21:37 /data/mingdao/data
service config:
version: '3'
services:
app:
image: registry.cn-hangzhou.aliyuncs.com/mdpublic/mingdaoyun-community:4.1.1
environment:
ENV_ADDRESS_MAIN: "MASKMASKMASK"
ENV_APP_VERSION: "MASKMASKMASK"
ENV_API_TOKEN: "MASKMASKMASK"
ports:
- 8880:8880
volumes:
- ./volume/data/:/data/
- ../data:/data/mingdao/data
- /usr/share/zoneinfo/Etc/GMT-8:/etc/localtime
doc:
image: registry.cn-hangzhou.aliyuncs.com/mdpublic/mingdaoyun-doc:1.2.0
docker containers:
docker images:
registry.cn-hangzhou.aliyuncs.com/mdpublic/mingdaoyun-community 4.1.1 4155f0ae3a51 37 hours ago 9.17GB
registry.cn-hangzhou.aliyuncs.com/mdpublic/mingdaoyun-file 1.4.0 dc5b955d9cd1 9 days ago 4.12GB
registry.cn-hangzhou.aliyuncs.com/mdpublic/mingdaoyun-doc 1.2.0 cc4d668f289b 2 months ago 2.66GB
"docker logs" requires exactly 1 argument.
See 'docker logs --help'.
Usage: docker logs [OPTIONS] CONTAINER
Fetch the logs of a container
服务响应码错误 `