Starting from TeamCity 2017.2, TeamCity comes with built-in Docker integration, which includes the Docker Compose runner.
For TeamCity 2017.2.x TeamCity-Docker support can run on Mac, Linux, and Windows build agents. It uses the
'docker' executable on the build agent machine, so it should be runnable by the build agent user.
The runner allows starting Docker Compose build services and shutting down those services at the end of the build.
The executed commands are
When using Docker Compose with images which support HEALTHCHECK, TeamCity will wait for the
healthy status of all containers, which support this parameter.
If the start of Docker Compose was successful, the TeamCity agent will register the TEAMCITY_DOCKER_NETWORK environment variable containing the name of the Docker Compose default network. This network will be passed transparently to the Docker Wrapper when used in some build runners.