-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Open
Description
I am using docker desktop 4.45.0 to build a Oracle 23 database image but it fails with a listener error when running buildExtensions.sh
.
buildContainerImage.sh
Running ./buildContainerImage.sh -v 23.9.0 -t oracle/database-base:23.9.0-free -f
works as expected and ends with the following output:
Oracle Database container image for 'free' version 23.9.0 is ready to be extended:
--> oracle/database-base:23.9.0-free-NEW
Build completed in 1147 seconds.
buildExtensions.sh
Running ./extensions/buildExtensions.sh -x prebuiltdb -b oracle/database-base:23.9.0-free -t oracle/database:23.9.0-free -o '--build-arg ORACLE_PWD=manager'
fails with the following output:
./extensions/buildExtensions.sh -x prebuiltdb -b oracle/database-base:23.9.0-free -t oracle/database:23.9.0-free -o '--build-arg ORACLE_PWD=manager'
Building extension prebuiltdb...
[+] Building 2.8s (7/7) FINISHED docker:desktop-linux
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 1.25kB 0.0s
=> [internal] load metadata for docker.io/oracle/database-base:23.9.0-free 0.1s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 55B 0.0s
=> [1/3] FROM docker.io/oracle/database-base:23.9.0-free@sha256:efe416e8cb86f9c94de7ad06e5314558af248e48ced9e14a45d53affbe41d808 0.0s
=> => resolve docker.io/oracle/database-base:23.9.0-free@sha256:efe416e8cb86f9c94de7ad06e5314558af248e48ced9e14a45d53affbe41d808 0.0s
=> CACHED [2/3] COPY --chown=oracle:dba setup/* /opt/oracle/scripts/extensions/setup 0.0s
=> ERROR [3/3] RUN "/opt/oracle/runOracle.sh" --nowait 2.6s
------
> [3/3] RUN "/opt/oracle/runOracle.sh" --nowait:
0.670 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:
0.674 Confirm the password:
0.678 Configuring Oracle Listener.
2.496 Listener configuration failed. Check log '/opt/oracle/cfgtoollogs/netca/netca_configure_out.log' for more details.
------
Dockerfile:42
--------------------
40 |
41 | # Creating the database
42 | >>> RUN "$ORACLE_BASE/$RUN_FILE" --nowait
43 |
--------------------
ERROR: failed to build: failed to solve: process "/bin/sh -c \"$ORACLE_BASE/$RUN_FILE\" --nowait" did not complete successfully: exit code: 1
View build details: docker-desktop://dashboard/build/desktop-linux/desktop-linux/flp3gd3oqu4txo4y7a3iutl9h
ERROR: Oracle Database Container Image was NOT successfully created.
ERROR: Check the output and correct any reported problems with the container build operation.
Metadata
Metadata
Assignees
Labels
No labels