I need to install sonarqube for a demo purpose. I have done the following steps in ubuntu 20.04 EC2 instance:
- apt update
- apt install docker.io
- sysctl -w vm.max_map_count=524288
- sysctl -w fs.file-max=131072
- ulimit -n 131072
- ulimit -u 8192
- systemctl start docker
- docker run -d --name sonarqube -e SONAR_ES_BOOTSTRAP_CHECKS_DISABLE=true -p 9000:9000 sonarqube:lts-community
After doing this , the whole instance becomes stuck (even when i do it in wsl). Why it happens?