DEV Community

Chris Richmond
Chris Richmond

Posted on

SonarQube Docker with PostGres issues

Problem: Created a new docker container for SonarQube and it failed with the error:

bootstrap check failure [1] of [1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]

Solution:

edit the file /etc/sysctl.conf
change or add a line vm.max_map_count=262144
then run sysctl --system

https://stackoverflow.com/questions/41064572/docker-elk-vm-max-map-count

Top comments (0)