Cannot access mounted drive files from RStudio within Docker

Running Docker on Windows 10.

Pulled and installed the image 'ml-workspace-r:latest' from GitHub - DAGsHub/ml-workspace: 🛠 All-in-one web-based IDE specialized for machine learning and data science. like this:

docker run -d \
    -p 8080:8080 \
    --name "ml-workspace" -v "/${PWD}:/workspace" \
    --env AUTHENTICATE_VIA_JUPYTER="mytoken" \
    --shm-size 512m \
    --restart always \

Now I'm trying to run the container and access files locally.

When I run this line:

docker run -it -v C:\Debug:/root/home -p 8080:8080 --name dagshub/ml-workspace-r:latest

I can open a file explorer within the container and access all the files within C:/Debug.

However when I open RStudio within the container, I get a permissions error:

"Error navigating to /root: Permission denied". I see no files within the root/home directory.

Does anyone know what I'm doing wrong? Thanks, Sean

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.