Docker中安装gitlab-runner注册失败
最近自己在家安装gitlab-runner的时候,在注册的时候一直出现getsockopt: no route to hostPANIC: Failed to register this runner. Perhaps you are having network problems问题,然后百度了半天,网上都说是gitlab和gitlab-runner版本号不一致导致的问题,然后我拿runner.
·
最近自己在家安装gitlab-runner的时候,在注册的时候一直出现getsockopt: no route to host
PANIC: Failed to register this runner. Perhaps you are having network problems问题,然后百度了半天,网上都说是gitlab和gitlab-runner版本号不一致导致的问题,然后我拿runner的历史版本重新注册发现还是不行,最后发现是由于虚拟机的防火墙没有关导致的。。。汗颜。关闭虚拟机防火墙(centos)systemctl stop firewalld.service ,然后设置禁止开机启动systemctl disable firewalld.service,关闭后再次注册还是不行,又报了个新的错误status=404 Not Found
PANIC: Failed to register this runner. Perhaps you are having network problems,最后发现是由于gitlab-runner版本和gitlab不对应造成的,将其换成对应的版本后,注册成功了。
更多推荐
已为社区贡献1条内容
所有评论(0)