xvrl commented on issue #11166:
URL: https://github.com/apache/druid/issues/11166#issuecomment-828643315


   @FrankChen021 this might be specific to docker for mac and how it mounts 
volumes. There might also be some issue with how COPY handles the existing var 
directory, complicated by the fact that `/opt/druid` is a symlink.
   This might cause things to work a little differently across docker versions 
and OSes.
   
   A workaround is to always mount a volume on the `docker run` command line. 
At least in my testing this somehow makes `/opt/druid/var` take on the right 
`druid:druid` ownership instead of `root` when the volume is left unset.


-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to