Giter Club home page Giter Club logo

docker-database-puppet's Introduction

Oracle Database

It will download a minimal CentOS 6 image, Puppet 3.7 and all it dependencies

The Docker image will be big, and off course this is not supported by Oracle and like always check your license to use this software

Configures Puppet and use librarian-puppet to download all the modules from the Puppet Forge

Changes vs original :

  • kit will be outside VM
  • no db - only software. db will be created in a separat step.

Result

  • Oracle Database software on CentOS 6. ( no systemd ;) )

Optional, you can add your own DB things, just change the puppet site.pp manifest

  • Add your own Tablespaces
  • Add Roles
  • User with grants
  • Change database init parameters
  • execute some SQL

Software

Download Oracle DB for CentOS 6 64.

  • 12.1.0.2 file 1 & 2 ( linuxamd64_12c_database_1of2.zip )

Build image

  1. Clone git repo.
  2. docker build -t myora . This will create a image called "myora"
  3. start image with ora kits provided as volume
  4. install oracle software. save it as image

Maybe after the build you should compress it first, see the compress section for more info

Start container

default, will start the listener & database server

  • docker run -i -t -p 1521:1521 oracle/database12102:latest

with bash

docker run -i -t -p 1521:1521 oracle/database12102:latest /bin/bash

  • /startup.sh

Compress image (now ~7.6GB)

  • ID=$(docker run -d oracle/database12102:latest /bin/bash)
  • docker export $ID > database12102.tar
  • cat database12102.tar | docker import - database12102
  • docker run -i -t -p 1521:1521 database12102:latest /bin/bash
  • /startup.sh

docker-database-puppet's People

Contributors

biemond avatar predoiua avatar psalaberria002 avatar

Watchers

 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.