Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

Install and run

# Run Teamcity server 
docker run -dt -p 8111:8111 ariya/centos6-teamcity-server

# Run teamcity agent
docker pull vdubyna/docker-teamcity-agent-php
docker run -e TEAMCITY_SERVER= -dt vdubyna/docker-teamcity-agent-php:latest

If you want to run multiple agents, then set unique name for each one

docker run -e AGENT_NAME=UniqueAgentName -e TEAMCITY_SERVER= -dt vdubyna/docker-teamcity-agent-php:latest

Clean filesystem

# Delete Containers
docker rm `docker ps -a | grep Exited | awk '{print $1 }'`
# Delete Images
docker images --no-trunc | grep none | awk '{print $3}' | xargs -r docker rmi
Docker Pull Command