TeamCity Cloud
 
Get TeamCity Cloud
You are viewing the documentation for an earlier version of TeamCity Cloud.

Docker

Edit page Last modified: 01 December 2023

The Docker build runner allows launching the build, push, and tag Docker commands inside your build.

If you need to push the newly built image to a registry, you can authorize to a Docker or Podman registry by configuring the Docker Support build feature, as follows:

  1. In your project settings, select Connections from the sidebar and follow the instructions in Configuring Connections to Docker to add new Docker or Podman connections to your project.

  2. In your build configuration settings, follow the instructions in Docker Support to configure the Docker Support build feature, adding the connections created in the previous step.

If a Dockerfile is present in your VCS repository and you create a TeamCity project based on this repository, TeamCity will autodetect it and offer creating a build step using this runner.