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

rancher 创建失败,等了好久还不成功 #28

Closed
flysky2008 opened this issue Jun 15, 2022 · 4 comments
Closed

rancher 创建失败,等了好久还不成功 #28

flysky2008 opened this issue Jun 15, 2022 · 4 comments

Comments

@flysky2008
Copy link

#16
20220616071110

@Bay-lynduner
Copy link

凭我这个月摸索的经验,应该是rancher环境没清理干净,每次尝试部署前一定先清理彻底

@flysky2008
Copy link
Author

凭我这个月摸索的经验,应该是rancher环境没清理干净,每次尝试部署前一定先清理彻底

有清理的脚本吗?尝试很多目前还没解决

@longlimin
Copy link

可以尝试用rancher最新的版本,新版本能避免不少错误。 docker run -d --privileged --restart=unless-stopped -p 443:443 rancher/rancher

@data-infra
Copy link
Member

1、先把rancher镜像拉取下来,省的创建的时候等待久,以为不成功。
2、如果还是有问题,就先sh reset_docker.sh,然后查看docker ps,是否已经清空干净,如果不干净,就重启机器后在reset_docker.sh, docker ps没有容器了才说明清理干净
3、重新执行docker run,如果还是不行,多试几次,还有换大一点的机器,>8核,16G
4、如果已经部署过,但是突然rancher web界面打不开了,日志报等待k3s启动错误,那就按照单机高可用方案

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

4 participants