Public | Automated Build

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

Dockerfile for a TeamCity agent

Dockerhub image:

Based on .


docker run -d -p 9090:9090 --name teamcity-agent --privileged=true \
  -e DOCKER_OPTS="--insecure-registry --insecure-registry" \
  -e DOCKER_HOST="tcp://" \

DOCKER_OPTS and DOCKER_HOST are optional.<br/>
DOCKER_HOST is needed if the host's docker daemon is not listening on the default socket.

After the container starts, you need to authorise the agent in the server.

This image includes docker so you can:

  1. create an image of your app, then
  2. test your app inside a container of this image, then
  3. push the tested image to a registry.

Or simply run the build environment in a docker container, then push the artifacts to some package repository.

Docker Pull Command
Source Repository