jetbrains/teamcity-agent pulls statistics
By jetbrains (643 listings) · Docker Hub · Integration & delivery
TeamCity Build Agent
jetbrains/teamcity-agent has 24,042,605 recorded pulls on Docker Hub, an increase of 0.7% over the past 30 days, ranking #95 of 1,291 tracked listings.
About jetbrains/teamcity-agent
TeamCity Build Agent
<img src="http://jb.gg/badges/official.svg" height="20"/>
This is an official JetBrains TeamCity build agent image.
<img src="https://raw.githubusercontent.com/JetBrains/teamcity-docker-images/master/docs/media/GitHub.png" height="20" align="center"/> More details about tags and components are here.
The TeamCity build agent connects to the TeamCity server and spawns the actual build processes.
You can use the jetbrains/teamcity-server image to run a TeamCity server. To learn how you can start the TeamCity server together with agents in one go, see these Docker Compose samples.
This image adds a TeamCity agent suitable for Java development. It is based on jetbrains/teamcity-minimal-agent but gives you more benefits, e.g.
- client-side checkout if you use 'git' or 'mercurial'
- more bundled build tools
- 'docker-in-docker' on Linux
Tag Semantics
Starting from 2026.3, each TeamCity release is published under a revision tag and a version tag:
| Tag | Example | Semantics |
|---|---|---|
<version>-r<revision> | 2026.3-r1 | Immutable. Always refers to the same image. |
<version> | 2026.3 | Mutable. Refers to the latest revision of that version. |
latest | latest | Mutable. Refers to the latest revision of the latest release. |
A new revision is published when the image changes but TeamCity does not, for example to update operating system packages, the bundled JDK, or build tools with security fixes. All revisions of a version contain the same TeamCity build. Revisions start at r0: 2026.3-r0, 2026.3-r1, and so on.
A version tag only moves between revisions of that version: 2026.3 never moves to 2026.3.1.
Platform-specific tags follow the same rules: 2026.3-r1-linux is immutable, while 2026.3-linux moves to each new revision.
The multi-architecture -linux-sudo and -windowsservercore tags work the same way: 2026.3-r1-linux-sudo is immutable, while 2026.3-linux-sudo and latest-linux-sudo move to each new revision.
Use a version tag to receive image updates when you pull. Use a revision tag to keep the image unchanged until you decide to move to a newer revision.
How to Use This Image
Pull the TeamCity image from the Docker Hub Repository:
jetbrains/teamcity-agent
and use the following command to start a container with a TeamCity agent running inside a Linux container:
docker run -e SERVER_URL="<url to TeamCity server>" \
-v <path to agent config folder>:/data/teamcity_agent/conf \
jetbrains/teamcity-agent
or a Windows container:
docker run -e SERVER_URL="<url to TeamCity server>"
-v <path to agent config folder>:C:/BuildAgent/conf
jetbrains/teamcity-agent
where <url to TeamCity server> is the full URL of the TeamCity server, accessible by the agent. Note that "localhost" will generally not work as it will refer to the "localhost" inside the container.
<path to agent config folder> is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create.
Since version 2020.1, TeamCity agent Docker images run under a non-root user. Refer to our upgrade notes for information on possible affected use cases.
When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the Unauthorized Agents page in your browser. See more details. All information about agent authorization is stored in the agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved.
A TeamCity agent does not need a manual upgrade: it will upgrade itself automatically on connecting to a server.
Agent Image Environment Variables
SERVER_URL– URL of the TeamCity server the agent will connect toAGENT_NAME– (optional) Name of the agent in TeamCity UI, autogenerated if omittedAGENT_TOKEN– (optional) Agent authorization token. If unset, the agent should be authorized via the TeamCity UI.AGENT_STOP_MODE– (optional, Linux-only) Controls how the agent stops when the container receives a stop signal:force(default) cancels the running build,gracefulwaits for it to finish, andkillimmediately terminates the agent process. For graceful shutdown, set the container's stop timeout long enough for the build to finish. The Linux default is 10 seconds. Use Docker's--stop-timeoutoption to change it.OWN_ADDRESS– (optional, Linux-only) IP address the build agent binds to, autodetectedOWN_PORT– (optional, Linux-only) Port the build agent binds to, 9090 by defaultDOCKER_IN_DOCKER– (optional, Linux-only) Run Docker within Docker. If the host does not have nftables and uses legacy iptables, please addDOCKER_IPTABLES_LEGACY=1to switch to legacy iptables mode.
Preserving Checkout Directories Between Builds
When the build agent container is restarted, it checks out the sources for the builds again.
To avoid this, you should pass a couple of additional options to preserve the build agent state between restarts:…
Description from the Docker Hub listing.
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Pulls on a linear scale. Placement is projected from pulls, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (50)Similar Docker Hub Integration & delivery plugins
All 20 jetbrains/teamcity-agent alternativesData source
Cumulative pull counts and stars come from the public Docker Hub API. Pulls count image downloads (including automated CI pulls), not installs or users.
Listing: https://hub.docker.com/r/jetbrains/teamcity-agent. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.