Public | Automated Build

Last pushed: 3 years ago
Short Description
Short description is empty for this repo.
Full Description

Running Eclipse Luna inside a Docker container

Preliminary note

This image is based on these blog entries

Thanks to the authors :)

What's installed?

  • Eclipse Mars (or Luna - depends on tag) for RCP and RAP developers


  • Findbugs
  • Checkstyle
  • Database Viewer
  • Memory Analyzer
  • QuickREx

Tools (command line, use e.g. in wicket shell)

  • Oracle JDKs 6,7 and 8
  • gradle
  • ant
  • git

Download the image and create container

docker run -it \
    --name eclipse \
    -v ~/workspace/:/home/developer/workspace/ \
    -e DISPLAY \
    -v /tmp/.X11-unix:/tmp/.X11-unix \

The -v parameter binds the directory workspace to /home/developer/workspace wihtin in the cotainer. You may want to adjust this parameter.

If the UI does not come up try to call xhost + localhost before starting the container.

Build the image from Dockerfile

git clone
cd docker-eclpse-for-rcp

# (optional: adjust UID, GUI and User in Dockerfile)

docker build -t eclipse-for-rcp .

# run the image to create a container
docker run -it \
    --name eclipse \
    -v ~/workspace/:/home/developer/workspace/ \
    -e DISPLAY \
    -v /tmp/.X11-unix:/tmp/.X11-unix \

Subsequent starts

docker start eclipse

The container is stopped when Eclipse is shut down.

Get a shell within a running container

To get a shell within the running container (e.g. for running gradle or mvnfrom the commandline) call:

docker exec -ti -u developer eclipse bash 
Docker Pull Command
Source Repository