You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/03/09 11:04:00 UTC

[jira] [Commented] (DRILL-8156) Declare and chown a /data VOLUME in the Drill Dockerfile

    [ https://issues.apache.org/jira/browse/DRILL-8156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17503499#comment-17503499 ] 

ASF GitHub Bot commented on DRILL-8156:
---------------------------------------

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-unsubscribe@drill.apache.org

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


> Declare and chown a /data VOLUME in the Drill Dockerfile
> --------------------------------------------------------
>
>                 Key: DRILL-8156
>                 URL: https://issues.apache.org/jira/browse/DRILL-8156
>             Project: Apache Drill
>          Issue Type: Improvement
>          Components: Tools, Build &amp; Test
>    Affects Versions: 1.20.0
>            Reporter: James Turton
>            Assignee: James Turton
>            Priority: Minor
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)