Skip to content

Docs feedback: Services with dind outdated

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

https://docs.gitlab.com/ee/ci/services/#using-services-with-docker-run-docker-in-docker-side-by-side

The --network argument has been removed with Docker 2, so this doesn't work anymore unfortunately. I haven't found any nice alternative, at least nothing nicer than to connect the runner to the network of the docker compose run ... container. This requires some rather hackish Docker ps lookups with $CI_JOB_ID and won't work for everybody I guess.

In case there is a good solution to replace this outdated approach, it'd be great to have it in the docs here. Otherwise, I'm afraid this section is obsolete and everybody is more or less on his own.

Edited by 🤖 GitLab Bot 🤖