Skip to content

Instantly share code, notes, and snippets.

docker pull jetbrains/teamcity-server
docker run -it --name teamcity-server-instance -v /mnt/hd3tb/teamcity_server/datadir:/data/teamcity_server/datadir -v /mnt/hd3tb/teamcity/logs:/opt/teamcity/logs -p 8111:8111 jetbrains/teamcity-server
docker pull jetbrains/teamcity-agent
docker run -it -e SERVER_URL="http://10.1.0.21/:8111" -e AGENT_NAME="tc-aws-agent" -v /mnt/hd3tb/teamcity/teamcity_agent/conf:/data/teamcity_agent/conf jetbrains/teamcity-agent
# inside teamcity agent do following:
apt-get -y update;
apt-get -y install build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev;