Docker Registry Connections

Edit pageLast modified: 12 March 2025

The Docker Registry Connections build feature allows TeamCity to automatically sign in to DockerHub or other container registries before the build starts.

Add this feature to:

  • Allow TeamCity monitor and detect Docker/Podman operations (for instance, docker pull and podman run);

  • Automatically log in to an authenticated registry before the build and log out of it after the build.

  • Clean up local (for both Docker and Podman) and pushed to a registry (only for Docker) images;

  • Add the Container Info tab to the Build Results page. The tab provides information on operations related to the container manager used.

    Container Info tab

Logging in and out of repositories and cleaning up images require a configured connection to a Docker registry:

Docker Registry Connectios build feature