Comments (7)
@skmar2 I assume you are trying XE which is not supported on Mac M2. However you can get Oracle Free working following the instructions here
from docker-images.
Can I use docker instead of podman?
from docker-images.
Yes, docker should also work with Lima/Colima though we haven't tested it. Basically you need a cross architecture virtualisation that Lima provides since XE/Free images are amd64 based and not arm64 used in Mac M2
from docker-images.
Now I am getting the below error....
setup % docker run --name oracle-db
-p 1575:1521
-e ORACLE_PWD=deralf241
-e ORACLE_CHARACTERSET=AL32UTF8
-v /Users/skumar/IdeaProjects/der/implementierung/der-reactor/docker/oracle-db/volumes/scripts/setup:/opt/oracle/oradata
container-registry.oracle.com/database/free:latest
Specify a password to be used for database accounts. Oracle recommends that the password entered should be at least 8 characters in length, contain at least 1 uppercase character, 1 lower case character and 1 digit [0-9]. Note that the same password will be used for SYS, SYSTEM and PDBADMIN accounts:
Confirm the password:
Configuring Oracle Listener.
Listener configuration succeeded.
Configuring Oracle Database FREE.
Enter SYS user password:
Enter SYSTEM user password:
Enter PDBADMIN User Password:
Prepare for db operation
Cannot create directory "/opt/oracle/oradata/FREE".
7% complete
100% complete
[FATAL] Prepare Operation has failed.
0% complete
Look at the log file "/opt/oracle/cfgtoollogs/dbca/FREE/FREE.log" for further details.
from docker-images.
@skmar2 it looks like the error is caused by this line:
-v /Users/skumar/IdeaProjects/der/implementierung/der-reactor/docker/oracle-db/volumes/scripts/setup:/opt/oracle/oradata
The log output indicates that the database creation process could not add a directory under /opt/oracle/oradata
. You should confirm that the directory exists and that your user can create files there. The path looks odd to meβis this under the default Volume directory on your machine, created by Docker? If so, try setting the volume to a different path, or try calling docker run
without the -v
option to confirm everything else is working as expected.
from docker-images.
I updated the exposed volume path and it worked.
docker run --name oracle-db
-p 1575:1521
-e ORACLE_PWD=deralf241
-e ORACLE_CHARACTERSET=AL32UTF8
-v /Users/skumar/IdeaProjects/der/implementierung/der-reactor/docker/oracle-db/volumes/scripts/setup:/opt/oracle/scripts/startup
container-registry.oracle.com/database/free:latest
But now I am getting this error
[FATAL] [DBT-10330] Container database (CDB) creation option is not selected.
CAUSE: You have specified the database template (FREE Database) which represents container database (CDB) information. But, you have not selected to create container database (CDB). Only container database (CDB) can be created using this template.
ACTION: Select container database (CDB) creation option. Alternatively specify different database template
[FATAL] [DBT-10333] Container database (CDB) creation option is not selected.
CAUSE: Non-CDB creation is not supported.
ACTION: Make sure container database (CDB) option is selected.
from docker-images.
@skmar2 I just ran this successfully (OEL 8.8, Docker 24.0.6). Will you please try running this same command without assigning the volume?
docker run --name oracle-db
-p 1575:1521
-e ORACLE_PWD=deralf241
-e ORACLE_CHARACTERSET=AL32UTF8
container-registry.oracle.com/database/free:latest
I suspect there's a script in the entrypoint directory that's attempting to do something that's causing the error.
If it still fails without the entrypoint, please share the full output of the docker run
command and the results of running docker info
?
from docker-images.
Related Issues (20)
- Unable to pull oracle/weblogic:12.1.3-developer image HOT 2
- Creation of OracleDatabase 21c errors with out of memory HOT 2
- oracle 19c image doesn't work :LRM-00109: could not open parameter file HOT 1
- Request to change instances of "PDB_ADMIN" to "PDBADMIN" in documentation/READMEs
- Building Oracle EE arm64 on x86 with docker buildx fails
- The Oracle port has not been modified
- Can DB_DOMAIN in OracleDatabase/SingleInstance? HOT 2
- How to use yum when running scripts after setup HOT 6
- any plan to support of oracle instant client with oraclelinux 9 HOT 1
- Unable to create multiple replicas on kubernetes cluster HOT 2
- Install manually oracle-database-preinstall-19c HOT 1
- Reuse Existing Database Files When Re-creating an Oracle 19c Container HOT 4
- `Password: su: Authentication failure` error when starting the container HOT 2
- Bash environment of _oracle_ user broke. HOT 9
- Failed to connect to the specified database (ORCLCDB). HOT 3
- container-registry.oracle.com/database/enterprise:12.2.0.1-slim -e ORACLE_CHARACTERSET it does not work HOT 1
- poman-desktop valumes binding problem
- Oracle 19.3 image looks too heavy
- Oracle 23.3.0 FREE build docker image error for yum install HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-images.