Jelajahi Sumber

SONAR-12067 Update docker image documentation about graceful shutdown

Pierre Guillot 6 tahun lalu
induk
melakukan
91dc4e5add
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      sonarqube/content.md

+ 1 - 1
sonarqube/content.md

@@ -97,7 +97,7 @@ $ docker run -ti sonarqube-custom
 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
+docker run --stop-timeout 3600 %%IMAGE%%
 ```
 
 ## Administration