terraform-aws-gitlab-runner icon indicating copy to clipboard operation
terraform-aws-gitlab-runner copied to clipboard

Support Docker option for IPv6

Open william00179 opened this issue 1 year ago • 2 comments
trafficstars

Describe the solution you'd like

I'm trying to use the runner in a IPv6 only environment. The runner itself works well and is able to connect to my Gitlab instance, but when the job starts within its own docker container it gets a connection timeout to Gitlab as its not able to make use of the IPv6 networking.

To allow this to work, enable_ipv6 needs to be set in the Docker configuration otherwise docker networks don't support it.

See https://docs.docker.com/config/daemon/ipv6/ and https://gitlab.com/gitlab-org/gitlab-runner/-/issues/36994

Suggest a solution

Add the enable_ipv6 flag to runner_worker_docker_options. Note the enable_ipv6 documentation is currently missing, see the issue above.

william00179 avatar Feb 27 '24 10:02 william00179

Seems to be mandatory, if you want to IPv6 only.

kayman-mk avatar Feb 29 '24 10:02 kayman-mk

@william00179 Are you working in a IPv6 only setup? There is #1075 claiming that SSM access in not working for IPv6 only so the Runner will not be able to start.

kayman-mk avatar Feb 29 '24 10:02 kayman-mk

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days.

github-actions[bot] avatar May 02 '24 02:05 github-actions[bot]

This issue was closed because it has been stalled for 15 days with no activity.

github-actions[bot] avatar May 17 '24 02:05 github-actions[bot]