From 7c73246a7aa264083c4aa45a5828cbba41e6680d Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Fri, 26 Jul 2019 20:10:27 +0000 Subject: [PATCH] Run update.sh --- sonarqube/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sonarqube/README.md b/sonarqube/README.md index 6a1e1a672..88a2c1555 100644 --- a/sonarqube/README.md +++ b/sonarqube/README.md @@ -137,6 +137,14 @@ $ docker build --tag=sonarqube-custom . $ docker run -ti sonarqube-custom ``` +### Avoid hard termination of SonarQube + +Starting from SonarQube 7.8, SonarQube stops gracefully, waiting for any tasks in progress to finish. Waiting for in-progress tasks to finish can take a large amount of time which the docker does not expect by default when stopping. To avoid having the SonarQube instance killed by the Docker daemon after 10 seconds, it is best to configure a timeout to stop the container with `--stop-timeout`. For example: + +```console +docker run --stop-timeout 3600 sonarqube +``` + ## Administration The administration guide can be found [here](https://redirect.sonarsource.com/doc/administration-guide.html).