Merge pull request #1506 from SonarSource/feature/sonarqube-7.8-community
SONAR-12067 Update docker image documentation about graceful shutdown
This commit is contained in:
commit
e9901078cb
|
|
@ -92,6 +92,14 @@ $ docker build --tag=sonarqube-custom .
|
||||||
$ docker run -ti 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 %%IMAGE%%
|
||||||
|
```
|
||||||
|
|
||||||
## Administration
|
## Administration
|
||||||
|
|
||||||
The administration guide can be found [here](https://redirect.sonarsource.com/doc/administration-guide.html).
|
The administration guide can be found [here](https://redirect.sonarsource.com/doc/administration-guide.html).
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue