Public | Automated Build

Last pushed: 7 months ago
Short Description
Docker container with Oracle Java JDK 8 plus Oracle Express Edition 11g Release 2 on Ubuntu 16.04
Full Description


Oracle Java JDK 8 plus Oracle Express Edition 11g Release 2 on Ubuntu 16.04 LTS

This Dockerfile is a trusted build of Docker Registry.

Based on: wnameless/oracle-xe-11g


docker pull parana/web-xe-ubuntu

Define in your .bash_profile this utility function:

docker-ip() { 
  boot2docker ip 2> /dev/null 

Run as a daemon with 8080, 22 and 1521 ports opened, setting the hostname to db-server use the command:

docker run -d -h db-server -p 1443:8080 -p 49160:22 -p 1521:1521 --name myxe parana/web-xe-ubuntu

Connect database with following setting:

hostname: localhost
port: 1521
sid: xe
username: system
password: oracle

Password for SYS & SYSTEM is


From your MAC OSX terminal:

sqlplus system/oracle@$(docker-ip):1521/XE

Login by SSH

ssh root@$(docker-ip) -p 49160
password: admin

Connect via WebBrowser with following setting:

hostname: $(docker-ip)
port: 1443

open http://$(docker-ip):1443

To stop myxe container use:

docker stop myxe

To remove myxe container use:

docker rm myxe

To see myxe container details use:

docker ps | grep myxe 

Another usefull shell.

Save this on your ~/bin/ directory as docker-clean file:


remove_dangling() {
  echo "Removing dangling images ..."
  docker rmi $(docker images -f dangling=true -q)

remove_stopped_containers() {
   echo "Removing stopped containers ..."
   docker rm $(docker ps -qa)

case $1 in
       read -p "Are you sure you want to remove all stopped containers?" -n 1 -r
       echo  #
       if [[ $REPLY =~ ^[Yy]$ ]]
       echo "usage: docker-clean containers|images   -  containers - removes all stopped containers it can.   images - removes dangling (un-needed) image layers - images you no longer need"


Docker Pull Command
Source Repository