Server Docker Images
Instead of installing the TeamCity server from a distribution package, you can run it from the official JetBrains TeamCity Server Docker image. JetBrains publishes images for Linux and Windows (including Windows Server Core and Nano Server variants) across major CPU architectures.
To start a server container, mount a host directory as the TeamCity Data Directory and publish the server port:
Always mount the data directory from the host. Otherwise, your projects, builds, and server settings are lost when the container is removed.
A containerized server cannot use the automatic update. To move to a newer version, pull the new image and start a container from it against the same data directory, as described in Using Docker images.
Where to look | |
|---|---|
Image registry and available tags | |
Installation instructions, environment variables, limitations, and customization options | |
The list of components installed in server images | |
Docker Compose samples (run a TeamCity server and agents together) |