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
Post a Comment