Eclipse Che is a developer workspace server and cloud IDE. You install, run, and manage Eclipse Che with with different container orchestration engines such as Docker or OpenShift.
Eclipse Che is available in two modes:
-
Single-user: This is suited for personal desktop environments.
-
Multi-user: This is an advanced setup for Che and is for organizations and developer teams.
See Single and Multi-User Che to learn more. The quick starts are for single-user mode.
Docker
Prerequisites - Ensure that the lastest Docker version is installed (Docker 17+). - Ensure that you create an IP alias if macOS. In a terminal, run the sudo ifconfig la0 alias $IP command. $IP`is found either in Preferences> Advanced > Docker subnet or run the `docker run --rm --net host eclipse/che-ip:nightly.
Procedure
To run Che in the single-user mode, enter this command:
$ docker run -ti -v /var/run/docker.sock:/var/run/docker.sock -v /local/path:/data eclipse/che start
Note that /local/path can be any path on your local machine where you want to store Che data and projects.
Next Steps
Create and start your first workspace, import a project, build and run your project.
Additional Resources
OpenShift
Prerequisities
-
Ensure that you are using the latest version of MiniShift. See MiniShift add-on for Che.
To run Che in single-user mode on Minishift, run the following commands:
$ git clone https://github.com/minishift/minishift-addons
$ minishift addons install <path_to_minishift-addons-clone>/add-ons/che
$ minishift addons enable che
$ minishift addons apply \
--addon-env CHE_DOCKER_IMAGE=eclipse/che-server:nightly \
--addon-env OPENSHIFT_TOKEN=$(oc whoami -t) \
che
Next Steps
Create and start your first workspace, import a project, build and run your project.
Additional Resources
See the following resources for more information on the Openshift variants supported by Che:
-
OpenShift Container Platform (OCP): OpenShift on-premise, which you can install in your Data Center.
-
OpenShift Online (OSO): On-Demand OpenShift hosted on public cloud and managed by Red Hat.
-
OpenShift Dedicated (OCD): Enterprise public cloud with your own OpenShift cluster managed by Red Hat.
-
MiniShift: OpenShift running on your local environment.