You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

GitLab Docker Autoscaler执行器构建时移除网络失败问题

GitLab Runner Docker Autoscaler 作业执行失败解决方法

问题场景

使用docker-autoscaler执行器运行GitLab Runner,搭配fleeting-plugin-aws插件,已完成Auto Scaling Group(ASG)配置且ASG功能正常,但作业执行失败,报错如下:

Running with gitlab-runner 16.6.1 (f5da3c5a)
  on autoscaler BN9C-ytN8, system ID: s_bf8d3ace2761
Preparing the "docker-autoscaler" executor
00:10
ERROR: Failed to remove network for build
ERROR: Preparation failed: error during connect: Get "http://internel.tunnel.invalid/v1.24/info": dialing environment connection: ssh: rejected: administratively prohibited (open failed) (docker.go:878:0s)
Will be retried in 3s ...
ERROR: Failed to remove network for build
ERROR: Preparation failed: error during connect: Get "http://internel.tunnel.invalid/v1.24/info": dialing environment connection: ssh: rejected: administratively prohibited (open failed) (docker.go:878:0s)
Will be retried in 3s ...
ERROR: Failed to remove network for build
ERROR: Preparation failed: error during connect: Get "http://internel.tunnel.invalid/v1.24/info": dialing environment connection: ssh: rejected: administratively prohibited (open failed) (docker.go:878:0s)
Will be retried in 3s ...
ERROR: Job failed (system failure): error during connect: Get "http://internel.tunnel.invalid/v1.24/info": dialing environment connection: ssh: rejected: administratively prohibited (open failed) (docker.go:878:0s)

已排查项

  • 执行器主机与ASG实例间可通过配置用户建立SSH连接
  • 配置用户已具备Docker使用权限

解决方案

将ASG实例中的Docker升级至最新版本,即可解决该连接报错问题。

内容的提问来源于stack exchange,提问作者snifter

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.04 21:52:55