Git Product home page Git Product logo

Comments (8)

TylerJewell avatar TylerJewell commented on May 18, 2024

Hi. First, the docker image that is on the Che site is outdated. We do not yet have automation to support re-generation of the image. The image is for version 3.12.x, which is part of the old release train, and not part of the next generation platform for Eclipse. The next gen stuff is pre-alpha as part of the 4.0 branch.

Specific to the docker run - did you do this with root privs or another user?

If you'd like to test the latest stuff, we need you to build from source. It's relatively easy to do if you have 10 minutes. Requires Java 8 and Maven 3.1.1+.

git clone http://github.com/codenvy/che
cd che
git checkout 4.0
cd assembly-sdk
mvn clean install
cd ..
./che.sh run
http://localhost:8080

We'll update the docker image for the alpha soon.

from che.

 avatar commented on May 18, 2024

Hi,

The version itself does not matter here.

You took an example of mapping it to 9000 port, so che should be available at localhost:9000

Also, the image has to be run in a privileged mode, to support Docker in Docker.

So, docker run --privileged -it -p 8080:8080 -p 49152-49162:49152-49162 codenvy/che should work

from che.

OliverCole avatar OliverCole commented on May 18, 2024

When I use --privileged the errors disappear, but I still can't access the web interface.

from che.

TylerJewell avatar TylerJewell commented on May 18, 2024

This is an older version.  Can you tell us what you see with localhost:9000/che and also localhost:9000/dashboard 
Thanks.

-Tyler

On Thu, Dec 3, 2015 at 2:15 PM -0800, "OliverCole" [email protected] wrote:

When I use --privileged the errors disappear, but I still can't access the web interface.


Reply to this email directly or view it on GitHub.

from che.

freewind avatar freewind commented on May 18, 2024

I met this same issue. You should not connect to localhost, but the ip which the virtual machine provided, for me, it's 192.168.99.100 in the welcome message from "Docker Quickstart Terminal":

                        ##         .
                  ## ## ##        ==
               ## ## ## ## ##    ===
           /"""""""""""""""""\___/ ===
      ~~~ {~~ ~~~~ ~~~ ~~~~ ~~~ ~ /  ===- ~~~
           \______ o           __/
             \    \         __/
              \____\_______/


docker is configured to use the default machine with IP 192.168.99.100
For help getting started, check out the docs at https://docs.docker.com

This is really confused me who doesn't know docker, in the end I asked for help from some docker expert after several hours of struggling.

Hope to put this information to the installation document

from che.

 avatar commented on May 18, 2024

Yes, we'll add a boot2docker section to the installation docs. In this case, you should access VM IP directly, while for OS having a native Docker support it's just localhost.

from che.

freewind avatar freewind commented on May 18, 2024

Seems like boot2docker is deprecated?

https://github.com/boot2docker/boot2docker-cli

Deprecated
This project is officially deprecated in favor of Docker Machine. The code and documentation here only exist as a reference for users who have not yet switched over (but please do soon). The recommended way to install Machine is with the Docker Toolbox.

from che.

OliverCole avatar OliverCole commented on May 18, 2024

You should not connect to localhost, but the ip which the virtual machine provided

That was it - thanks!

from che.

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.