TeamCity configuration doesn't persist inside docker -


i've setup teamcity inside docker image , can access via localhost everytime restart docker, teamcity ask configuration again (from beginning, meaning have reconfigure whole teamcity again).

how make configuration persist?

how make configuration persist?

you can mount volume or use data volume container, in order persist configuration.

if not, copy-on-write mechanism used docker remove modification of docker rm (unless docker commit right after docker stop)

for example, teamcity docker project runs mounted volume:

docker run --link some-postgres:postgres \   -v <teamcitydir>:/var/lib/teamcity -d \   sjoerdmulder/teamcity:latest 

Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -