Recommended way to share home directory in docker?

I am using the following command to run docker's rstudio:

docker run -it -v /Apps/users/hussaif1:/home/rstudio/hussaif1-e PASSWORD=12345 -p 8787:8787 rocker/rstudio

It works , however, I keep getting permission denied when I try and cd into /home/rstudio/hussaif1 . Is there a better way to share my home directory without doing a chmod 777 on everything I want shared?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.