Document how to create a runner via Docker Compose
Problem to solve
This issue attempts to follow up on issues raised here.
People want to use a private container registry to host their images. They came across some issues when using the runner to access private registries (when attempting to access private registries from their CI file).
The issue seems to be two-fold.
-
We need content for using Docker Compose with automatic authentication for both:
- the runner's Docker executor (running CI scripts on a private image)
- DinD (using the
docker
command in a CI script)
@bmares created a sample: gitlab-runner#1583 (comment 389439316)
-
Authentication needs to be done more frequently, because right now it expires after 12 hours.
See this content by @michaelherman https://mherman.org/blog/gitlab-ci-private-docker-registry/
This issue is to incorporate this info into the GitLab docs.
Further details
Proposal
Who can address the issue
Other links/references
Edited by Suzanne Selhorn