Adding a GitLab Runner to the build machine

Once we have our GitLab groups with our project structure created, our DTR builder credentials are stored at the GitLab group level (so that it can be shared across each projects pipeline) as protected environment variables. We are now ready to configure our Runner.

The Runner is a small bit of code that we will install on our build machine to bootstrap the connection between our build machine and gitlab.com. As we mentioned before, our building machine is a Docker host that is unaffiliated with the Docker Enterprise cluster, and runs its own standalone, single node Swarm cluster.

From the GitLab group, you can navigate to the setting for CI/CD and expand the Runner section. Within the Runner section, ...

Get Mastering Docker Enterprise now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.