jnturton opened a new pull request #2491:
URL: https://github.com/apache/drill/pull/2491


   # [DRILL-8156](https://issues.apache.org/jira/browse/DRILL-8156): Declare 
and chown a /data VOLUME in the Drill Dockerfile
   
   ## Description
   
   Some users of embedded Drill in Docker want to use a Docker volume with 
Drill, particularly for Drill's persistent local storage so that Drill 
configuration can persist across container launches.  Because Drill no longer 
runs as root in the Docker container as of 1.20, these users now need a 
mountpoint inside that container that has been chowned to drilluser.
   
   Also remove unneeded permissions to Drill installation dir that were held by 
drilluser.
   
   ## Documentation
   Document the existence of the volume mountpoint at /data in the container.
   
   ## Testing
   
   1. Build an image using Drill master and the Dockerfile in this branch.
   2. Launch the image with default args (no volume mounted) and run test 
queries.  Confirm that an option set with ALTER SYSTEM is lost across container 
launches.
   3. Launch the image with a host volume mounted at /data and 
`sys.store.provider.local.path: "/data"` and run test queries.  Confirm that an 
option set with ALTER SYSTEM is persisted across container launches.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@drill.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to