Oracle Database 21c Enterprise Edition Installation Guide for Docker Containers

Installation guide for deploying Oracle Database 21c Enterprise Edition in Docker containers, covering image access, connections, custom parameters, and…


Oracle Database 21c Enterprise Edition Installation Guide for Docker Containers - cover page
Brand
Oracle
Category
Other
Document type
User Manual
Language
English
Pages
11
File format
PDF
File size
224 KB
Published
02 December, 2026
Updated
02 December, 2026
Model
21c
MD5 checksum
01990997B00A899C6B2B5D213453E6E7

About this manual

This document explains how to install Oracle Database Enterprise Edition or Standard Edition on Docker using the Oracle Database 21c Enterprise Edition image, which runs on Oracle Linux 7 (x86-64) and includes a default multitenant database with one pluggable database. It covers deployment options, connecting to the database from inside and outside the container, changing administrative passwords, and using custom configuration parameters.

The guide also describes how to start a database instance with the docker run command, including port mappings, environment variables, and data volumes, and how to run scripts after setup and on startup. It notes restrictions and minimum requirements for the Docker image.

What's inside

  • About this Docker Image for Oracle Database
  • Accessing the Oracle Database Image on Docker
  • Connecting to the Oracle Database Server Container
  • How to Change the Administrative Users Password for the Database
  • Custom Configuration Parameters for Oracle Database on Docker
  • How to Use Custom Configuration Parameters for the Database on Docker
  • Starting an Oracle Database Server Instance
  • Running Scripts After Setup and on Startup
  • Restrictions and Requirements for Oracle Database on Docker

Specifications

Database editionOracle Database 21c Enterprise Edition, with the option to deploy Enterprise Edition or Standard Edition
Operating systemOracle Linux 7 (x86-64)
Default database configurationMultitenant configuration with one pluggable database
Default port for Oracle client connections1521
OEM Express port5500
Default ORACLE_SIDORCLCDB
Default ORACLE_PDBORCLPDB1
Default ORACLE_EDITIONenterprise
Default ORACLE_CHARACTERSETAL32UTF8
Default ENABLE_ARCHIVELOGfalse
Oracle user ID for data volume54321

Frequently asked questions

How do you connect to the database from outside the container?

Start the container with the -p option, then connect using the default port 1521 or the exposed port. Clients can use SQL*Plus or any JDBC interface.

How do you change the SYS, SYSTEM, and PDBADMIN passwords?

Use the setPassword.sh script provided in the container with the Docker exec command. The container must be running.

What happens if you do not provide passwords on the first startup?

A single random password is generated for the administrative users, and it appears in the database logs as the ORACLE PASSWORD FOR SYS, SYSTEM AND PDBADMIN line.

What do the ORACLE_SID and ORACLE_PDB parameters do?

ORACLE_SID changes the Oracle system identifier of the database, and ORACLE_PDB modifies the name of the pluggable database. Both are optional.

Download PDF (224 KB)

More Oracle Manuals


View all Oracle manuals →