Last active
May 29, 2023 16:38
-
-
Save zeitounator/5b781e239f5954b12f118154b86b9f07 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat docker-compose.yml | |
--- | |
services: | |
sonarqube: | |
image: ${SONAR_IMAGE} | |
command: "-Dsonar.search.javaAdditionalOpts=-Dnode.store.allow_mmap=false" | |
ports: | |
- "9000:9000" | |
$ export SONAR_IMAGE=sonarqube:10.0-developer | |
$ echo $SONAR_IMAGE | |
sonarqube:10.0-developer | |
$ docker compose up -d | |
[+] Running 7/7 | |
✔ sonarqube 6 layers [⣿⣿⣿⣿⣿⣿] 0B/0B Pulled 35.4s | |
✔ 1bc677758ad7 Pull complete 3.7s | |
✔ 0d0e0ecb256a Pull complete 4.7s | |
✔ 212512b6dedf Pull complete 5.5s | |
✔ 648d9d544695 Pull complete 5.9s | |
✔ 5a2e17520037 Pull complete 33.9s | |
✔ 83a3db80585f Pull complete 34.2s | |
[+] Building 0.0s (0/0) | |
[+] Running 2/2 | |
✔ Network test_default Created 0.1s | |
✔ Container test-sonarqube-1 Started | |
$ docker compose down -v | |
[+] Running 2/2 | |
✔ Container test-sonarqube-1 Removed 6.8s | |
✔ Network test_default Removed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment