Installing Oracle XE with Docker
Docker is an application container for Linux. It is based on LXC and gives you the ability to package complete application including their dependencies to a self-containing file called an image. These images can be exchanged and run on every Linux machine where Docker is installed. It is the easiest way to install Oracle XE. Docker images are also shared around the community on https://index.docker.io.
- First, you need to install Docker on Ubuntu. Follow the instructions given in this doc.
- Pull the image to your machine using the following command :
- Run the image using the following command :
- Connect to the database with the following setting:
- You can connect to the database using SQL*Plus
docker pull arahman/docker-oracle-xe-11g
docker run -d -p 49160:22 -p 49161:1521 -p 49162:8080 arahman/docker-oracle-xe-11g /sbin/my_init
hostname: localhost
port: 49161
sid: xe
username: system
password: oracle
No comments:
Post a Comment