]> source.dussan.org Git - sonarqube.git/commitdiff
Add warning againt the use of bind mounts (#2681)
authorsylvain-combe-sonarsource <59280694+sylvain-combe-sonarsource@users.noreply.github.com>
Wed, 8 Apr 2020 15:55:46 +0000 (17:55 +0200)
committersonartech <sonartech@sonarsource.com>
Wed, 8 Apr 2020 20:03:18 +0000 (20:03 +0000)
* 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

index c6e7dd91433e407592c071dbfd8509107bbccb02..fb0f09472fbdcd2f2bade94ca069824029d6d45a 100644 (file)
@@ -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: