I was just looking for some clarification on how the container-volumes option works.
I’m currently using Docker in Windows 10 and using linux containers. I would ideally like to make it so that a specified Windows folder (containing an rds dataset) will be available to the shiny app in the containers that are spun up.
I have the data in a folder “C:\Program Files\ShinyApps\myapp\data” and want it to be available to containers. I’ve tried using:
container-volumes: [ “C:/Program Files/ShinyApps/myapp/data”, “/root/myapp/data”]
container-volumes: [ “C:/Program Files/ShinyApps/myapp/data”, “/root/appdata”]
along with various others.
and none have worked (I’ve changed the app coding to point to the correct directory each time, well at least I think the correct directory).
What is the proper way to specify this? Do I need to replace the white space with %20? Do I need to use something other than the color in “C:/…”?
Any help would be appreciated. Thanks!