Answers: <p>Automation of installations like this can often be done with config management tools.  GitHub and the public repos for these tools is a good place to start.</p>
  
  <p>There is a Puppet installer for TeamCity here: <a href="https://github.com/haf/puppet-teamcity" rel="noreferrer">https://github.com/haf/puppet-teamcity</a></p>
  
  <p>Here's a Chef cookbook:
  <a href="https://supermarket.chef.io/cookbooks/chef-teamcity" rel="noreferrer">https://supermarket.chef.io/cookbooks/chef-teamcity</a></p>
  
  <p>You can also use tools like Packer to generate your image(s).  Packer can substitute for a Dockerfile in generating a Docker image. Packer will also run Provisioners (including Chef/Puppet/Ansible) to configure your image.</p>
  
Answers: CC BY-SA 3.0
Answers: 2017-03-01T12:36:40.930Z
Answers: 2017-03-01T12:36:40.930Z
Answers: Dave Swersky
Body: <p><a href="https://github.com/kennedyoliveira/jetbrains-teamcity-docker" rel="noreferrer">JetBrains TeamCity docker image</a> describe build steps for already installed TeamCity.</p>
  
  <p>Is there any way to automate installation of TeamCity it-self?</p>
  
  <p>For example creating the admin account, enabling standard authentication and setting up the project?</p>
  
Tags: <docker><automation><teamcity>
Title: How to automate TeamCity installation using docker?
UserDisplayName: kenorb
ThreadText: # How to automate TeamCity installation using docker?
  
  (Asked by: username_0 on 2017-03-01)
  
  [JetBrains TeamCity docker image](https://github.com/kennedyoliveira/jetbrains-teamcity-docker) describe build steps for already installed TeamCity.
  
  Is there any way to automate installation of TeamCity it-self?
  
  For example creating the admin account, enabling standard authentication and setting up the project?
  
  **Tags:** docker, automation, teamcity
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-03-01. Score: 9 | Accepted answer
  
  Automation of installations like this can often be done with config management tools. GitHub and the public repos for these tools is a good place to start.
  
  There is a Puppet installer for TeamCity here: <https://github.com/haf/puppet-teamcity>
  
  Here's a Chef cookbook:
  <https://supermarket.chef.io/cookbooks/chef-teamcity>
  
  You can also use tools like Packer to generate your image(s). Packer can substitute for a Dockerfile in generating a Docker image. Packer will also run Provisioners (including Chef/Puppet/Ansible) to configure your image.
  
  
  ---
  
  