Public Repository

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

Accessing eclipse using conatiner (ubuntu based)

Launch eclipse container using following command:

$ docker run -d -p 5900:5900 sasan/eclipseindigo


 $ docker run -p 5900:5900 -v sourceVol:/root/workspace sasan/eclipseindigo

Then connect to container IP:port from any Linux / Windows machine using VNC app (UltraVNC etc)

> dockerHostIP:5900


password 1234

(currently fixed)


  1. C++ compiler working for eclipse


  1. Password is fixed currently as 1234


# Eclipse over VNC
# VERSION               0.1
# DOCKER-VERSION        1.2.0

from    ubuntu:14.04
# make sure the package repository is up to date
run     echo "deb precise main universe" > /etc/apt/sources.list
run     apt-get update

# Install vnc, xvfb in order to create a display 
run     apt-get install -y x11vnc xvfb  
#Install sshd & supervisor (sshd may be good for logging into container)
run    apt-get install -y openssh-server    
run    apt-get install -y supervisor
# Install eclipse
run     apt-get install -y eclipse-jdt eclipse-pde eclipse eclipse-platform eclipse-rse eclipse-cdt 

# Setting up VNC
run     mkdir ~/.vnc
# Setup a password
run     x11vnc -storepasswd 1234 ~/.vnc/passwd

# Super-visor scripts to loop for x11vnc
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf

# Autostart eclipse (might not be the best way to do it, but it does the trick)
run     bash -c 'echo "/usr/bin/eclipse" >> /.bashrc'
CMD ["/usr/bin/supervisord"]

supervisor configuration file (supervisord.conf)


command=x11vnc -forever -usepw -create

command=/usr/sbin/sshd -D
Docker Pull Command