Running Fedora 25 and want to give Eclipse Che a test spin? It’s far easier than you may think.
- Install Docker
- Install Che
- Run Che
The steps are simple but quite important they are followed closely. Best to always follow the official process, right? In that spirit, the instructions for getting Docker running on Fedora were quite straightforward. Use those to make sure you’re running Docker smoothly.
As advertised on its homepage, getting Che installed is as simple as a single command:
docker run eclipse/che start
Next comes the simple but tricky part. On Fedora 25 I figured out that I couldn’t use the shortened Docker command – I needed to run the full explicit one specifying paths. I didn’t want to have to remember this, and I also wanted to make sure Docker was running whenever I needed to run Che, so I created the following bash alias to use:
alias che='sudo systemctl start docker && sudo docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock -v /home/ennenine/Development:/data eclipse/che start'
Now whenever I want to spin up Che and start working, I simply have to type
che into the nearest terminal.