GithubHelp home page GithubHelp logo

Comments (7)

eddelbuettel avatar eddelbuettel commented on July 23, 2024

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.

benmarwick avatar benmarwick commented on July 23, 2024

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.

eddelbuettel avatar eddelbuettel commented on July 23, 2024

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.

cboettig avatar cboettig commented on July 23, 2024

@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.

benmarwick avatar benmarwick commented on July 23, 2024

@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.

wch avatar wch commented on July 23, 2024

@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.

eddelbuettel avatar eddelbuettel commented on July 23, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.