Skip to content

Instantly share code, notes, and snippets.

@gladiopeace
Forked from thomasdarimont/readme.md
Created February 4, 2018 21:34
Show Gist options
  • Save gladiopeace/196ef46e25a41e8c5c671b925ea36d65 to your computer and use it in GitHub Desktop.
Save gladiopeace/196ef46e25a41e8c5c671b925ea36d65 to your computer and use it in GitHub Desktop.
Oracle Docker Image

Clone oracle docker images repo

... and follow the instructions in the readme file.
https://github.com/oracle/docker-images/tree/master/OracleDatabase

Navigate to the OracleDatabase dockerfiles

cd docker-images/OracleDatabase/dockerfiles

Download oracle installation files

http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html

Build oracle docker image

./buildDockerImage.sh -v 12.1.0.2 -e -p system

Run oracle docker container

docker run --name=orcl12 -p 1521:1521 -p 5500:5500 oracle/database:12.1.0.2-ee

Connect via sqlplus

Run the following command in a separate window

docker exec -i -t orcl12 sqlplus system/system@localhost:1521
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment