Comments (7)
Thanks for the note.
Glancing at my September talk on Docker, I see that I
- used
/sbin/ifconfig eth1
to see what IP address docker had: 192.168.59.103 - then sent the browser to
http://192.168.59.103:8787
As I learned later, there is also a command boot2docker ip
which gives the ip.
Can you check if this works for me? As I see it, you are bypassing this approach with the explicit tunnel.
from rocker.
Thanks, yes, with boot2docker ip
I get 192.168.59.103
but when then run sudo docker run -d -p 8787:8787 rocker/rstudio
in boot2docker and go to http://192.168.59.103:8787/
in my browser I get ERR_CONNECTION_TIMED_OUT
I've previously noted this on SO and it's part of an official workaround. Of course it could just be something unique to my computer.
Some instructions on this here might help to minimize frustration for other windows users who are interested to try R and docker, but run into the problem of the port not opening. What do you think?
from rocker.
There are some notes in the Wiki. Did you see them?
Contributions always welcome. It always failed to me with Docker < 1.2 so make sure you have a recent-enough version. The screenshot from my September talk is real: this worked.
from rocker.
@benmarwick Yup, contributions to the wiki page are definitely helpful; like you say it might be good to mention the ssh link trick in there as well.
Wiki feedback/editing from people actually using said workflow would be great. I've wondered if a few screenshot kinda things might help there too. I don't have a mac or windows machine and my linux box is apparently too crappy to support 64-bit virtualization, so I've actually never been able to test the boot2docker
directions myself, (though others have).
Also, maybe we need to make it more clear how to find the Wiki directions in the first place? Suggestions welcome.
from rocker.
@eddelbuettel thanks, yes I saw the wiki already, and have now added in a sentence on this workaround. I'm using boot2docker
1.3.0 (had the same problem with 1.2.0). Perhaps it's something unique to windows or my particular setup.
I've made a small PR #55 to point users to the wiki earlier in the documentation, following @cboettig's query about making it more clear on how to find the wiki directions. The idea is that people browsing the repo can more quickly find a few commands to run in their console before they decide they need to read more about the numerous options, etc.
from rocker.
@cboettig To make the link to the wiki more clear, I suggest putting it in the repo description -- that's what I did for https://github.com/wch/r-source.
from rocker.
@wch but two-line repo descriptions are so icky!
maybe as a big fat link at the start of the README.md ...
from rocker.
Related Issues (20)
- Migrating from Dockerhub? HOT 3
- Container for RStudio (not server) HOT 1
- MRAN repository snapshots were deleted - Failing jobs because packages can't be found anymore HOT 5
- docker v18 & packages repositories & rocker's images HOT 5
- unable to load shared object
- Update results in deletion of all install package...
- installation testing fails HOT 1
- r: error while loading shared libraries: libR.so: cannot open shared object file: No such file or directory
- Docker image r-base:4.2.1 not reproducible HOT 4
- Installing unstable apt packages? HOT 4
- Local Zotero Integration? HOT 3
- R session terminated HOT 1
- latest r-base breaks install of `curl` package HOT 8
- xz-utils backdoor HOT 4
- Potential high vulnerability in r-base:4.3.1 HOT 3
- Installing packages fails due to broken openssl package in debian testing HOT 2
- Alternative Methods of Extending Images? HOT 5
- update 'latest' version to 4.4.0 RDS security flaw HOT 2
- New `usrmerge` issues. HOT 5
- 502 Returned by Rstudio Server when executing 'client_init' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rocker.