GithubHelp home page GithubHelp logo

pablohenrique6 / docker-oracle-xe-11g Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alexei-led/docker-oracle-xe-11g

0.0 3.0 0.0 262.84 MB

Dockerfile of Oracle Database Express Edition 11g Release 2

License: Other

Shell 100.00%

docker-oracle-xe-11g's Introduction

docker-oracle-xe-11g

Oracle XE - Dockerfile

This repository contains a Dockerfile to create a docker container with Oracle Express Edition 11g Release 2 and Ubuntu 14.04 LTS (Trusty)

This Dockerfile has been published as a trusted build to the public Docker Registry.

How-To: Build this image

If you want to build this image and use latest Oracle XE version, you will need to download Oracle XE from Oracle site.

Then you will also need to convert download rpm file into deb, using alien tool.

Run following command to convert downloaded rpm package into deb.

sudo alien oracle-xe-11.2.0-1.0.x86_64.rpm

I also keep, already downloaded Oracle XE image in GitHub repository, split into 3 pieces, due to GitHub 100MB file limit. Original file is split by running split command and merged back with cat command (Google for how to use both commands).

How-To: Install and Use

docker pull alexeiled/docker-oracle-xe-11g

Note: It's important to run Oracle XE with >1GB shared memory.

Start Oracle XE

Running Oracle XE in detached mode with 1521 and 8080 ports opened and 2GB shared memory:

docker run -d --shm-size=2g -p 1521:1521 -p 8080:8080 alexeiled/docker-oracle-xe-11g

Start Oracle XE and execute SQL on startup

Put your *.sql files for database init into some local folder and mount this folder during container startup to /etc/entrypoint-initdb.d volume.

docker run -d --shm-size=1g -p 8080:8080 -p 1521:1521 -v /local-initdb:/etc/entrypoint-initdb.d alexeiled/docker-oracle-xe-11g

Connect

Connect database with following setting:

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

Password for SYS user

oracle

Connect to Oracle Application Express web management console with following settings:

url: http://localhost:8080/apex
workspace: internal
user: admin
password: oracle

Do not forget to change admin password!

docker-oracle-xe-11g's People

Contributors

alexei-led avatar wnameless avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.