docker
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| docker [2025/12/09 09:52] – mduersch | docker [2025/12/18 09:13] (current) – [ORACLE] mduersch | ||
|---|---|---|---|
| Line 15: | Line 15: | ||
| ===== ORACLE ===== | ===== ORACLE ===== | ||
| - | user oracle | + | user and groups |
| - | + | groupadd -g 54321 oinstall | |
| - | pull Image: | + | useradd |
| + | |||
| + | pull Image(s): | ||
| podman pull container-registry.oracle.com/ | podman pull container-registry.oracle.com/ | ||
| + | podman pull container-registry.oracle.com/ | ||
| + | podman pull container-registry.oracle.com/ | ||
| + | | ||
| list available images: | list available images: | ||
| podman images | podman images | ||
| + | root@tuxmobil:/# | ||
| + | REPOSITORY | ||
| + | container-registry.oracle.com/ | ||
| + | container-registry.oracle.com/ | ||
| + | container-registry.oracle.com/ | ||
| + | |||
| + | |||
| | | ||
| + | create database instance (options): | ||
| + | |||
| + | podman run --name < | ||
| + | -P | -p <host port="">: | ||
| + | -e ORACLE_PDB=< | ||
| + | -e ORACLE_PWD=< | ||
| + | -e ORACLE_CHARACTERSET=< | ||
| + | -e ENABLE_ARCHIVELOG=true \ | ||
| + | -e ENABLE_FORCE_LOGGING=true \ | ||
| + | -v [<host mount="" | ||
| + | container-registry.oracle.com/ | ||
| + | |||
| + | |||
| + | Create Container: | ||
| + | podman run -d -p 1521:1521 --name md26lite -e ORACLE_PDB=md26litepdb -e ORACLE_PWD=0815 -v / | ||
| + | |||
| + | |||
| + | Connect to DB from inside container | ||
| + | root@tuxmobil:/# | ||
| + | bash-4.4$ | ||
| + | bash-4.4$ sqlplus / as sysdba | ||
| + | |||
| + | SQL*Plus: Release 23.26.0.0.0 - Production on Tue Dec 9 12:04:48 2025 Version 23.26.0.0.0 | ||
| + | |||
| + | Copyright (c) 1982, 2025, Oracle. | ||
| + | |||
| + | |||
| + | Connected to: | ||
| + | Oracle AI Database 26ai Free Release 23.26.0.0.0 - Develop, Learn, and Run for Free | ||
| + | Version 23.26.0.0.0 | ||
| + | |||
| + | SQL> | ||
| + | SQL> | ||
| + | |||
docker.1765273936.txt.gz · Last modified: by mduersch
