TeamCity On-Premises
 
You are viewing the documentation for an earlier version of TeamCity On-Premises.

Configuring Connections to Docker

Last modified: 04 March 2021

A preconfigured Docker connection allows you to:

  • log in to an authenticated registry before running a build / log out after the build;

  • clean up the published images after the build.

You can configure a Docker Registry connection on the Project Settings | Connections page. TeamCity supports connections to docker.io (default) or private Docker registries. More than one connection can be added to the project. The connection will be available in all the subprojects and build configurations of the current project.