Eclipse Mars Java IDE + OpenJFX in a container
1.1K
Run Eclipse release Mars 1 inside a container on your desktop. This Image is based on the official java-image. Those are based on openjdk NOT oracles java implementation!
OpenJFX is also installed.
You can preserve configuration and installed plugins by mounting the according volumes.
docker run -it --rm \
--net host \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-e DISPLAY=unix$DISPLAY \
-v $HOME/projects/java/workspace:/home/eclipse/workspace \
-v $HOME/.eclipse/plugins:/opt/eclipse/plugins \
-v $HOME/.eclipse/configuration:/opt/eclipse/configuration \
--name eclipse \
fschl/eclipse
The container needs permissions to access X11. The easiest way is to run
xhost +local:root
I have placed this in my .bashrc.
Content type
Image
Digest
Size
427.8 MB
Last updated
almost 11 years ago
docker pull fschl/eclipse