Oracle XE - Dockerfile
This repository contains a Dockerfile to create a docker container with Oracle Express Edition 11g Release 2 using phusion/baseimage-docker. This is a spin off from alexei-led/docker-oracle-xe-11g which is a spin off from wnameless/docker-oracle-xe-11g.
How-To: Install and Use
docker pull arahman/docker-oracle-xe-11g
Run with 22, 1521 and 8080 ports opened:
docker run -d -p 49160:22 -p 49161:1521 -p 49162:8080 arahman/docker-oracle-xe-11g /sbin/my_init
Connect database with following setting:
hostname: localhost port: 49161 sid: xe username: system password: oracle
Password for SYS
Connect to Oracle Application Express web management console with following settings:
url: http://localhost:49162/apex workspace: INTERNAL user: ADMIN password: oracle
Login by SSH
ssh root@localhost -p 49160 password: admin
Thanks for the feedback, I've fixed the ssh issue using instructions from https://github.com/phusion/baseimage-docker#container_administration. You can now ssh in as described with the latest image.
Thanks for this. I had to change localhost to 192.168.59.103. That way I was able to connect to the database with SQL Developer, however I'm not able to login via ssh. I get the following error:
> ssh email@example.com -p 49160 Read from socket failed: Connection reset by peer
Any ideas on how to fix this?