Docker Image for Eclipse
Create an eclipse.sh like this.
#!/bin/bash xhost +local:eclipse docker run -ti --rm --name eclipse -v ~/workspace:/home/eclipse/workspace:rw \ -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=unix$DISPLAY \ iwakoshi/eclipse --device /dev/snd
Make sure you have created the workspace folder in your home before running the docker.
I'm trying to install the image on docker windows (boot2docker), but when launching I have the error "Eclipse: Can not open display:"!
Im missing a prerequisite?
Thank you for your help.