This is an automated email from the ASF dual-hosted git repository.

dzamo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/drill-site.git

commit 0cb0649a469b83475b928d29e67daa75a885f53b
Author: James Turton <[email protected]>
AuthorDate: Thu Mar 10 11:58:37 2022 +0200

    Document the new /data volume in the Drill Docker image.
---
 .../011-running-drill-on-docker.md                           | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git 
a/_docs/en/install/installing-drill-in-embedded-mode/011-running-drill-on-docker.md
 
b/_docs/en/install/installing-drill-in-embedded-mode/011-running-drill-on-docker.md
index da6c5c9..bc569b1 100644
--- 
a/_docs/en/install/installing-drill-in-embedded-mode/011-running-drill-on-docker.md
+++ 
b/_docs/en/install/installing-drill-in-embedded-mode/011-running-drill-on-docker.md
@@ -139,6 +139,18 @@ docker run -it --name drill \
 
 See the linked Docker documentation for more details.
 
+## The /data volume
+
+The Drill Dockerfile includes a declaration of
+```
+VOLUME /data
+```
+where /data inside the container has been chowned to the Drill process user.  
This means that Drill will have read and write access to whatever volume you 
mount here making it a suitable place for persistent, mutable storage.  For 
example, by adding
+```
+       sys.store.provider.local.path="/data"
+```
+to drill-override.conf and mounting a Docker volume at that location at 
container launch time you can have embedded Drill's "local persistent storage", 
which keeps system option values and storage configurations, presist across 
container launches.
+
 ## Drill Web UI
 
 You can access the Drill web UI at `http://localhost:8047` when the Drill 
Docker container is running.  On Windows, you may need to specify the IP 
address of your system instead of using "localhost".

Reply via email to