From ab6328a769fbe531464fc9dd77cc64efc72ba390 Mon Sep 17 00:00:00 2001 From: sylvain-combe-sonarsource <59280694+sylvain-combe-sonarsource@users.noreply.github.com> Date: Wed, 8 Apr 2020 17:55:46 +0200 Subject: [PATCH] Add warning againt the use of bind mounts (#2681) * Add warning againt the use of bind mounts Discuss thread here: https://discuss.sonarsource.com/t/docker-volume-for-the-extension-folder/4476 * Update install-server.md Apply @MikeBirnstiehl suggested simpler and clearer phrasing --- server/sonar-docs/src/pages/setup/install-server.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/sonar-docs/src/pages/setup/install-server.md b/server/sonar-docs/src/pages/setup/install-server.md index c6e7dd91433..fb0f09472fb 100644 --- a/server/sonar-docs/src/pages/setup/install-server.md +++ b/server/sonar-docs/src/pages/setup/install-server.md @@ -162,6 +162,8 @@ Follow these steps for your first installation: $> docker volume create --name sonarqube_extensions $> docker volume create --name sonarqube_logs ``` + [[warning]] + | Make sure you're using [volumes](https://docs.docker.com/storage/volumes/) as shown with the above commands, and not [bind mounts](https://docs.docker.com/storage/bind-mounts/). Using bind mounts prevents plugins and languages from populating correctly. 2. Drivers for supported databases (except Oracle) are already provided. If you're using an Oracle database, you need to add the JDBC driver to the `sonar_extensions` volume. To do this: -- 2.39.5