获取镜像

docker pull postgres:10
docker pull sonarqube:7.9.1-community

启动镜像

docker run -d -p 5432:5432 -e POSTGRES_PASSWORD=1 --name postgres postgres:10
docker run -d -p 9000:9000 -e "SONARQUBE_JDBC_URL=jdbc:postgresql://192.168.114.131:5432/sonar" -e "SONARQUBE_JDBC_USERNAME=postgres" -e "SONARQUBE_JDBC_PASSWORD=1" --name sonarqube sonarqube:7.9.1-community

 

相关文章:

  • 2022-02-27
  • 2021-09-28
  • 2022-12-23
  • 2021-10-20
  • 2021-06-05
  • 2021-04-08
  • 2021-08-24
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-06
  • 2021-08-16
  • 2022-02-08
相关资源
相似解决方案