How to successfully start “Eclipse Che” on Mac OS, Ubuntu 17.10 and CoreOS

After a break of one year a did a look at the new webeditor “Eclipse Che”. To my surprise, Eclipse made a huge step forward.

Currently I think to myself “should I change from Atom to Eclipse Che”?

Let me give you some hints how to avoid obstacles with the official documentation.

Starting Eclipse Che

“docker run -it eclipse/che start”  doesn’t work for me at my CoreOS, Mac or Linux Docker Installation. The results was this one:

INFO: Welcome to Eclipse Che!
INFO: You are missing a mandatory parameter:
INFO:    1. Mount 'docker.sock' for accessing Docker with unix sockets.
INFO:    2. Or, set DOCKER_HOST to Docker's daemon location (unix or tcp).
INFO: Mount Syntax:
INFO:    Start with 'docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock' ...
INFO:    Start with 'docker run -it --rm -e DOCKER_HOST=<daemon-location> ...'

The solution that worked for me on all platforms is:

docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock -v ~/test/:/data eclipse/che start

This solution is explained here and here.

  1. Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: