Oracle Database Docker

10,111

If you check the other images of konnecteam, for instance docker-oracle-12c, you can find complete installation and management instructions, along with their default username/password for Oracle databases, and its always the same:

Connect database with following setting:

hostname: localhost
port: 1521
sid: xe
service name: xe.oracle.docker
username: system
password: oracle

AND

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

http://localhost:8080/apex
workspace: INTERNAL
user: ADMIN
password: 0Racle$

AND

Connect to Oracle Enterprise Management console with following settings:

http://localhost:8080/em
user: sys
password: oracle
connect as sysdba: true

There's no instructions for the image you are using, and I admit that it is confusing. They will probably update this in the future.

Share:
10,111
Faheem Sultan
Author by

Faheem Sultan

5.5 years working experience in Java/J2EE Software Development and Software Architecture. I have been working on different ERPs, Integrations, telecom and Inapp Billing Systems. thriving to become an end-to-end solution architect, i am already involved in designing and architecting solutions while keeping myself on toes with day to day learning curves.

Updated on December 06, 2022

Comments

  • Faheem Sultan
    Faheem Sultan over 1 year

    I'm new in oracle and I have a docker image of oracle database, I'm able to run it and here is the output:

    [root@ip-10-0-20-67 ~]# docker logs -f hungry_keller
    ls: cannot access /u01/app/oracle/oradata: No such file or directory
    Database not initialized. Initializing database.
    Starting tnslsnr
    Copying database files
    1% complete
    3% complete
    11% complete
    18% complete
    37% complete
    Creating and starting Oracle instance
    40% complete
    45% complete
    50% complete
    55% complete
    56% complete
    60% complete
    62% complete
    Completing Database Creation
    66% complete
    70% complete
    73% complete
    85% complete
    96% complete
    100% complete
    Look at the log file "/u01/app/oracle/cfgtoollogs/dbca/xe/xe.log" for further details.
    Configuring Apex console
    Database initialized. Please visit http://#containeer:8080/em http://#containeer:8080/apex for extra configuration if needed
    Starting web management console
    
    PL/SQL procedure successfully completed.
    
    Starting import from '/docker-entrypoint-initdb.d':
    found file /docker-entrypoint-initdb.d//docker-entrypoint-initdb.d/*
    [IMPORT] /entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
    
    Import finished
    
    Database ready to use. Enjoy! ;)
    

    But I don't know how to access it, username and password is prompted if I try and access it using localhost:8080 and I don't know the credentials. I actually want to create a database just like mysql command line or with any GUI interface and connect it through eclipse.

    Here is the link of the docker image I used:

    https://hub.docker.com/r/konnecteam/oracle12c-database/

  • Faheem Sultan
    Faheem Sultan over 5 years
    @ Thomas G there u go
  • dtc
    dtc about 3 years
    i think we just want some simple documentation on the docker page to start. otherwise, it's a major rabbit hole and just a bad joke imo