how can I access my local files (data, R-scripts) from the *docker* R/Bioconductor?
1
2
Entering edit mode
anton.kratz ▴ 60
@antonkratz-8836
Last seen 8 months ago
Japan, Tokyo, The Systems Biology Insti…

I am using R/Bioconductor by invoking

docker run -p 8787:8787 bioconductor/devel_base

and then I point my browser to

http://localhost:8787

to access RStudio.

It works without any problems.

But how can I access my raw data files and R-scripts on my local filesystem? I.e. how can I link my local filesystem to docker?

 

--

This is under Xubuntu 14.04.3 (xubuntu-14.04.3-desktop-amd64).

docker ubuntu • 2.7k views
ADD COMMENT
3
Entering edit mode
Dan Tenenbaum ★ 8.2k
@dan-tenenbaum-4256
Last seen 6 months ago
United States

Read the relevant docker documentation. Also read what rocker has to say about permissions when doing this.

 

ADD COMMENT
0
Entering edit mode
Thanks, I could get it to work with this command:

docker run -v $(pwd):/home/rstudio/$USER -p 8787:8787 bioconductor/devel_base

 

ADD REPLY

Login before adding your answer.

Traffic: 455 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6