Skip to content

Commit 2d971f2

Browse files
committed
Resolved review comments
1 parent 829b735 commit 2d971f2

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

OracleDatabase/SingleInstance/README.md

+17-17
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@ Sample container build files to facilitate installation, configuration, and envi
99
* [Running Oracle Database in a container](#running-oracle-database-in-a-container)
1010
* [Running Oracle Database Enterprise and Standard Edition 2 in a container](#running-oracle-database-enterprise-and-standard-edition-2-in-a-container)
1111
* [Securely specifying the password when using Podman (Supported from 19.3.0 onwards)](#securely-specifying-the-password-when-using-podman-supported-from-1930-onwards)
12-
* [Encrypting database password (Supported from 23.4.0 onwards)](#encrypting-database-password-supported-from-2340-onwards)
12+
* [Encrypting the database password (Supported from 23.4.0 onwards))](#encrypting-the-database-password-supported-from-2340-onwards)
1313
* [Selecting the Edition (Supported from 19.3.0 release)](#selecting-the-edition-supported-from-1930-release)
1414
* [Setting the SGA and PGA memory (Supported from 19.3.0 release)](#setting-the-sga-and-pga-memory-supported-from-1930-release)
1515
* [Setting the CPU_COUNT and PROCESSES (Supported from 19.3.0 release)](#setting-the-cpu_count-and-processes-supported-from-1930-release)
1616
* [Changing the admin accounts passwords](#changing-the-admin-accounts-passwords)
1717
* [Enabling archive log mode and/or force logging mode while creating the database](#enabling-archive-log-mode-andor-force-logging-mode-while-creating-the-database)
1818
* [Configuring TCPS connections for Oracle Database (Supported from version 19.3.0 onwards)](#configuring-tcps-connections-for-oracle-database-supported-from-version-1930-onwards)
19-
* [Running Oracle Database 23ai FREE in a container](#running-oracle-database-23ai-free-in-a-container)
19+
* [Running Oracle Database 23ai Free in a container](#running-oracle-database-23ai-free-in-a-container)
2020
* [Running Oracle Database 21c/18c Express Edition in a container](#running-oracle-database-21c18c-express-edition-in-a-container)
2121
* [Running Oracle Database 11gR2 Express Edition in a container](#running-oracle-database-11gr2-express-edition-in-a-container)
2222
* [Running Oracle True Cache in a container (Supported from version 23.4.0 onwards)](#running-oracle-true-cache-in-a-container-supported-from-version-2340-onwards)
23-
* [Setting Up Network for Communication Between Primary Database and True Cache Container](#setting-up-network-for-communication-between-primary-database-and-true-cache-container)
23+
* [Setting Up the Network for Communication Between the Primary Database and the True Cache Container](#setting-up-the-network-for-communication-between-the-primary-database-and-the-true-cache-container)
2424
* [Running Oracle Database Free True Cache in a Container](#running-oracle-database-free-true-cache-in-a-container)
2525
* [Containerizing an on-premise database (Supported from version 19.3.0 release)](#containerizing-an-on-premise-database-supported-from-version-1930-release)
2626
* [Deploying Oracle Database on Kubernetes](#deploying-oracle-database-on-kubernetes)
@@ -51,7 +51,7 @@ The `buildContainerImage.sh` script is just a utility shell script that performs
5151

5252
### Building Oracle Database container images
5353

54-
**IMPORTANT:** You will have to provide the installation binaries of Oracle Database (except for Oracle Database 18c XE, 21c XE and 23ai FREE) and put them into the `dockerfiles/<version>` folder.
54+
**IMPORTANT:** You will have to provide the installation binaries of Oracle Database (except for Oracle Database 18c XE, 21c XE and 23ai Free) and put them into the `dockerfiles/<version>` folder.
5555
You only need to provide the binaries for the edition you are going to install. The binaries can be downloaded from the [Oracle Technology Network](http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html), make sure you use the linux link: *Linux x86-64*. The needed file is named *linuxx64_\<version\>_database.zip*.
5656

5757
**Linux ARM64 Support:** Oracle Database 19c Enterprise Edition is now supported on ARM64 platforms. You will have to provide the installation binaries of [Oracle Database 19c](https://www.oracle.com/database/technologies/oracle19c-linux-arm64-downloads.html) and put them into the dockerfiles/19.3.0 folder. The needed file is named *LINUX.ARM64_1919000_db_home.zip*.
@@ -219,7 +219,7 @@ The Oracle Database inside the container also has Oracle Enterprise Manager Expr
219219
# Running the Oracle Database 21c XE image with the secret
220220
podman run -d --name=<container_name> --secret=oracle_pwd oracle/database:21.3.0-xe
221221

222-
##### Encrypting database password (Supported from 23.4.0 onwards)
222+
##### Encrypting the database password (Supported from 23.4.0 onwards)
223223

224224
Users can generate public-private key pair and pass database password (encrypted) and decryption (private) key to the container securely.
225225

@@ -228,22 +228,22 @@ Users can generate public-private key pair and pass database password (encrypted
228228
openssl genrsa -out key.pem
229229
openssl rsa -in key.pem -out key.pub -pubout
230230

231-
* Create oracle password file.
231+
* Create an Oracle Database password file.
232232

233233
echo "<Your Password>" > pwd.txt
234234

235-
* Encrypt the password file using public key (key.pub)
235+
* Encrypt the password file using the public key (key.pub)
236236

237237
openssl pkeyutl -in pwd.txt -out encrypted_pwd.txt -pubin -inkey key.pub -encrypt
238238

239-
Make sure to delete pwd.txt once done
239+
You should make sure you delete the pwd.txt once done
240240

241-
* Create podman secret for both encrypted password file and decrytion key (key.pem).
241+
* Create a podman secret for both the encrypted password file and the decrytion key (key.pem).
242242

243243
podman secret create oracle_pwd encrypted_pwd.txt
244244
podman secret create oracle_pwd_privkey key.pem
245245

246-
* Run the Oracle Database 23ai FREE image with the secrets
246+
* Run the Oracle Database 23ai Free image with the secrets
247247

248248
podman run -td --name=<container_name> --secret=oracle_pwd --secret=oracle_pwd_privkey oracle/database:23.4.0-free
249249

@@ -355,9 +355,9 @@ To configure wallet password, please use the following command:
355355
After certificate renewal, the client wallet should be updated by downloading it again.
356356
* Supports Oracle Database XE version 21.3.0 onwards.
357357

358-
#### Running Oracle Database 23ai FREE in a container
358+
#### Running Oracle Database 23ai Free in a container
359359

360-
To run your Oracle Database 23ai FREE container image use the `podman run` command as follows:
360+
To run your Oracle Database 23ai Free container image use the `podman run` command as follows:
361361

362362
podman run --name <container name> \
363363
-p <host port>:1521 \
@@ -401,7 +401,7 @@ On the first startup of the container a random password will be generated for th
401401
podman exec <container name> /opt/oracle/setPassword.sh <your password>
402402

403403
**Important Note:**
404-
The ORACLE_SID for Oracle Database 23ai FREE is always `FREE` and cannot be changed, hence there is no ORACLE_SID parameter provided for the FREE build.
404+
The ORACLE_SID for Oracle Database 23ai Free is always `FREE` and cannot be changed, hence there is no ORACLE_SID parameter provided for the Free build.
405405

406406
#### Running Oracle Database 21c/18c Express Edition in a container
407407

@@ -500,9 +500,9 @@ Once the container has been started you can connect to it just like to any other
500500

501501
### Running Oracle True Cache in a container (Supported from version 23.4.0 onwards)
502502

503-
Oracle True Cache is an in-memory, consistent, and automatically managed cache for Oracle Database.
503+
Oracle True Cache is an in-memory, consistent, and automatically managed cache for Oracle Database. For more information about Oracle True Cache please see the [Oracle True Cache Online Documentation](https://docs.oracle.com/en/database/oracle/oracle-database/23/odbtc/overview-oracle-true-cache.html).
504504

505-
#### Setting Up Network for Communication Between Primary Database and True Cache Container
505+
#### Setting Up the Network for Communication Between the Primary Database and the True Cache Container
506506

507507
* Oracle Database Free True Cache container (True Cache container) and the Oracle Database Free Primary Database container (Primary Database container) must be on the same podman network to communicate with each other.\
508508
Set up a podman network for inter-container communication using the following command which creates a bridge connection enabling communication between containers on the same host.
@@ -531,7 +531,7 @@ Set up a podman network for inter-container communication using the following co
531531
-e ENABLE_ARCHIVELOG=true \
532532
-e ENABLE_FORCE_LOGGING=true \
533533
-v [<host mount point>:]/opt/oracle/oradata \
534-
container-registry.oracle.com/database/free:latest
534+
oracle/database:23.4.0-free
535535

536536
Ensure that your Primary Database container is up and running and in a healthy state.
537537

@@ -550,7 +550,7 @@ You need to run the preceding podman run command with the host mount point (empt
550550
-e PRIMARY_DB_PWD_FILE=/var/tmp/orapwFREE \
551551
-e PRIMARY_DB_CONN_STR=<PRI_DB_FREE_IP>:1521/FREE \
552552
-v [<host mount point>:]/opt/oracle/oradata \
553-
container-registry.oracle.com/database/free:latest
553+
oracle/database:23.4.0-free
554554

555555
**Note:** If a common host mount point is used for both pri-db-free and tru-cc-free containers, then you may skip the podman cp step by specifying the location of pri-db-free password file directly using \
556556
-e PRIMARY_DB_PWD_FILE=/opt/oracle/product/23ai/dbhomeFree/dbs/orapwFREE

OracleDatabase/SingleInstance/extensions/prebuiltdb/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# LICENSE UPL 1.0
22
#
3-
# Copyright (c) 2024 Oracle and/or its affiliates. All rights reserved.
3+
# Copyright (c) 1982-2024 Oracle and/or its affiliates. All rights reserved.
44
#
55
# ORACLE DOCKERFILES PROJECT
66
# --------------------------

0 commit comments

Comments
 (0)