Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

问题反馈 #20

Open
Lufei101 opened this issue May 29, 2024 · 2 comments
Open

问题反馈 #20

Lufei101 opened this issue May 29, 2024 · 2 comments

Comments

@Lufei101
Copy link

image
镜像拉取正常、容器启动正常、端口检查过也开了,最后浏览器访问不到,最后进入容器后发现/opt/下面没有ARL,这咋回事

@HKirito
Copy link

HKirito commented May 29, 2024

init脚本没启动,可以docker exec -it {Container_name} /bin/bash 进去执行/root/arl/set.sh的脚本看看

@HKirito
Copy link

HKirito commented May 29, 2024

目前已知的坑有:
1.epel包过时,可以在容器内/etc/yum.repos.d/目录下执行wget -O /etc/yum.repos.d/epel-7.repo http://mirrors.aliyun.com/repo/epel-7.repo,然后执行yum clean all然后执行yum makecache重建软件源。
2.python3不存在,这里可以直接在容器内执行yum install python3
3.pip3 timeout ,这个可以在脚本中将所有带有pip3.6 install -r requirements.txt的位置后加上 -i https://mirrors.aliyun.com/pypi/simple/ ,目的是使用国内pip软件源。
4.以上都做完了但是仍未启动,可以考虑systemctl restart arl-web arl-arlworker arl-scheduler nginx 等均重启一遍,最后别忘了脚本里面的那个mongo语句,也要拿到容器里执行一次。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@HKirito @Lufei101 and others