Skip to content

Clarify user membership for docker

Anton Starovoytov requested to merge astarovoytov-add-docker-membership-note into main

What does this MR do?

Adds clarification for the docker group membership on the AMI

Why was this MR needed?

If the user on the AMI is not in docker group, the Runner Manager reports the error (which is misleading):

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: connect failed (open failed) (docker.go:866:0s)

What's the best way to test this MR?

Create an AMI where a user is not in docker group. Use this AMI for the ASG and run a pipeline.

Merge request reports