Sign inSign up

tiktzuki/oracle

By tiktzuki

Updated about 4 years ago

Image
0

60

tiktzuki/oracle repository overview

docker run \
--name oracle21c \
-p 1521:1521 -p 5500:5500 \
-e ORACLE_PDB=orcl \
-e ORACLE_PWD=password \
-e INIT_SGA_SIZE=3000 \
-e INIT_PGA_SIZE=1000 \
-v /path/to/store/db/files/:/opt/oracle/oradata \
-d \
tiktzuki/oracle:21.3.0-ee
   --name:        The name of the container (default: auto generated)
   -p:            The port mapping of the host port to the container port.
                  Two ports are exposed: 1521 (Oracle Listener), 5500 (OEM Express)
   -e ORACLE_SID: The Oracle Database SID that should be used (default: ORCLCDB)
   -e ORACLE_PDB: The Oracle Database Service Name that should be used (default: ORCLPDB1)
   -e ORACLE_PWD: The Oracle Database SYS password (default: auto generated)
   -e INIT_SGA_SIZE: The total memory in MB that should be used for all SGA components. If you bump the memory settings up too much you might need to change your Docker settings to allocate more memory to Docker (optional and if not specified will be auto calculated)
   -e INIT_PGA_SIZE: The target aggregate PGA memory in MB that should be used for all server processes attached to the instance. If you bump this and INIT_SGA_SIZE up to much, you might need to change your Docker settings to allocate more memory to Docker (optional and if not specified will be auto calculated)
   -e ORACLE_CHARACTERSET: The character set to use when creating the database (default: AL32UTF8)
   -v /opt/oracle/oradata
                  The data volume to use for the database.
                  Has to be writable by the Unix "oracle" (uid: 54321) user inside the container!
                  If omitted the database will not be persisted over container recreation.
   -v /path/to/store/db/files/:/opt/oracle/oradata
                  Mount the data volume into one of your local folders.
                  If omitted you might run into a "No disk space" issue at some point as your database keeps growing and docker does not resize its volume.
   -d:            Run in detached mode. You definitely want this, otherwise `Ctrl-C` will kill the container.

Tag summary

Content type

Image

Digest

sha256:6c2330c60

Size

3.1 GB

Last updated

about 4 years ago

docker pull tiktzuki/oracle:21.3.0-ee