Azure容器实例SonarQube vm.max_map_count

问题描述

将连接SonarQube的Azure容器实例连接到Azure sql

az容器create --resource-group MySonarServer --location westus --name sonarqube --cpu 2 --memory 3.5 --image sonarqube --os-type Linux --ip-address Public --environment-variables SONARQUBE_JDBC_USERNAME = testadmin SONARQUBE_JDBC_PASSWORD =密码SONARQUBE_JDBC_URL =“ jdbc:sqlserver:// test-MySonarServer .database.windows.net:1433; database = sonarqubedb; user = testadmin @ srv-sql-sonarqube; password = Password!; encrypt = true; trustServerCertificate = false; hostNameInCertificate = *。database.windows.net; loginTimeout = 30“ --ports 9000 --protocol TCP

我遇到错误

最大虚拟内存区域vm.max_map_count [65530]太低,增加到至少[262144]

但是当我使用H2底座运行容器时,一切正常

az容器create -g MySonarServer --name sonarqubeaci --image sonarqube --ports 9000 --dns-name-label mysonarqubedns --cpu 2 --memory 3.5

连接到Azure sql Server时如何解决错误

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)