Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding volumes to container? #1

Open
TeomanEgeSelcuk opened this issue Sep 9, 2022 · 0 comments
Open

Adding volumes to container? #1

TeomanEgeSelcuk opened this issue Sep 9, 2022 · 0 comments

Comments

@TeomanEgeSelcuk
Copy link

TeomanEgeSelcuk commented Sep 9, 2022

Hi I have been running this code on Windows 10. Down below are the parameters I ran to start the container:

docker run --rm -p 8787:8787 -e USER=guest -e PASSWORD=guest -v C:\Users\Edge\Desktop\coding\school-courses\Probiblity-Stats\R-code\running:/home/guest/r-docker tmlts/r-tidyverse-h2o

I want the scripts that I have created within the R-studio container to also be available outside it on my host machine. How would I be able to do that?
So within R studio browser I have the following directories:

.
├── r-docker/
│   └── testing.R
└── rstudio

I want all the files and folders created within the r-docker to also be automatically created on my host computer in the directory path C:\Users\Edge\Desktop\coding\school-courses\Probiblity-Stats\R-code\running. How would I be able to do this?

I also have another question what is the significance of the runtime parameter /home/guest/r-docker tmlts/r-tidyverse-h2o ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant