centos7.9使用docker安装JetBrains的持续集成软件TeamCity
1.拉取镜像
docker pull jetbrains/teamcity-server
2.运行,挂载数据和日志目录,映射端口即可
docker run --name teamcity-server-instance \
-v <path-to-data-directory>:/data/teamcity_server/datadir \
-v <path-to-logs-directory>:/opt/teamcity/logs \
-p <port-on-host>:8111 \
jetbrains/teamcity-server
3.默认端口8111,内部使用的服务器是tomcat