TeamCity is a Java-based build management and continuous integration server from JetBrains.
$ docker run --name teamcity -p 8111:8111 -d sashgorokhov/teamcity
This will start a Teamcity server listening on the default port of 8111.
Wait a couple of minutes, teamcity is rather heavy machine and needs some time to startup.
Then access it via http://localhost:8111
or http://host-ip:8111
in a browser.
Image's supported volumes:
/mnt/teamcity
- teamcity's data directory
$ docker run --name teamcity -p 8111:8111 -d -v /mnt/teamcity:/mnt/teamcity sashgorokhov/teamcity
To start teamcity agents, you can use teamcity agent docker image.
Only 9.4 version is supported.
Example compose file: compose file
Simply specify environment variable DATABASE=POSTGRES
(Uppercase only), and script will download approtiate driver for teamcity on server startup.
This image is officially supported on Docker version 1.10.2. Support for older versions (down to 1.6) is provided on a best-effort basis. Please see the Docker installation documentation for details on how to upgrade your Docker daemon.