bofm / docker-oracle12c Goto Github PK
View Code? Open in Web Editor NEWDocker image for Oracle Database 12c
License: MIT License
Docker image for Oracle Database 12c
License: MIT License
Hi,
I was able to run your oracle database, however I am not sure what is the username, password, database and SID name for this image? I use the one with the tag "preinstall".
Thanks
enio_oliveira@homeworkte:~/Documents/docker-oracle12c$ make all
Installing Oracle Database software...
c3be46c2902c bofm/oracle12c:preinstall "/tmp/install/install" 8 minutes ago Exited (127) 8 minutes ago oracle_install
oracle_install
/bin/bash: ./runInstaller: No such file or directory
Makefile:50: recipe for target 'install' failed
make: *** [install] Error 127
I1m getting this error when i execute the command line "make all"
I need to change the password for oracle user. I log into root user, run the passwd procedure to change password, it says it is successfully updated, but if I try to log into oracle user, it gives me error, like it wasn't changed at all.
I use this image for our developers, it is by far, the best for our needs. If I could change the password it would be perfect.
I assume it is possible by rewriting some line in the build script, but I don't know where to look.
Anyway, great work, thank you!
I get this error when I run make
$ make all
\033[32mInstalling Oracle Database software...\033[0m
Unable to find image 'bofm/oracle12c:preinstall' locally
preinstall: Pulling from bofm/oracle12c
a3ed95caeb02: Pull complete
4164c8cc49b7: Pull complete
6a54cbaa2f35: Pull complete
a8482cde7cad: Pull complete
80fd503b7647: Pull complete
cf214770b793: Pull complete
0d5d1e8a3a13: Pull complete
d62732ebc72a: Pull complete
07354f4227e1: Pull complete
bab3fa98616c: Pull complete
Digest: sha256:7e8043881e932f40e0b5c916faa5dda121186bc93d653969ff216e46e37a2aa5
Status: Downloaded newer image for bofm/oracle12c:preinstall
/bin/bash: ./runInstaller: No such file or directory
make: *** [install] Error 127
Hello,
quite new to Docker and I have some Questions/issues here.
I want to use this image on a windows mashine with an APEX application deployed into it. So first I need to install Apex into the image which I kinda don't know how.
Is it possible to Take the Image, put it on Windows, start it and have a persistent database? What happens if Windows will be shutdown without stopping the image before? Is it possible to add Apex 5 to the image?
Sending build context to Docker daemon 22.02kB
Step 1/13 : FROM bofm/oracle12c:installed
manifest for bofm/oracle12c:installed not found
******* FAILED 4 times
And failed again and again.
Good day.
I've created an docker image using your instructions.
But something strange occurs.
After a short period after the start (about 10 minutes) the DB is going to power-off state.
But DB do it normally. Looks like something says to shutdown and DB is going to do it.
The docker container is still alive at that time.
My command to start
docker run -d --name oracle_database \
--shm-size 4GB \
-p 18081:8080 -p 11521:1521 \
bofm/oracle12c
Some logs from the command docker logs oracle_database | grep alertlog:
alertlog: Tue Jan 10 11:47:08 2017
alertlog: UNDO_SEG_CRT: Could not find usn tail
alertlog: Completed: create rollback segment SYSTEM tablespace SYSTEM
alertlog: storage (initial 50K next 50K)
alertlog: Tue Jan 10 11:47:08 2017
alertlog: db_recovery_file_dest_size of 5265 MB is 0.00% used. This is a
alertlog: user-specified limit on the amount of space that will be used by this
alertlog: database for recovery-related files, and does not reflect the amount of
alertlog: space available in the underlying filesystem or ASM diskgroup.
alertlog: Tue Jan 10 11:47:08 2017
alertlog: Caching undo dictionary info: used hint for object index=0
alertlog: Caching undo dictionary info: used hint for object index=1
alertlog: Caching undo dictionary info: used hint for object index=2
alertlog: Caching undo dictionary info: used hint for object index=3
alertlog: Caching undo dictionary info: used hint for object index=4
alertlog: Undo initialization finished serial:0 start:597758716 end:597758716 diff:0 ms (0.0 seconds)
alertlog: alter tablespace system force logging
alertlog: Completed: alter tablespace system force logging
alertlog: processing ?/rdbms/admin/dsqlddl.bsq
alertlog: processing ?/rdbms/admin/dmanage.bsq
alertlog: CREATE TABLESPACE sysaux DATAFILE '/data/oracle/oradata/ORCL/sysaux01.dbf' SIZE 550M REUSE AUTOEXTEND ON NEXT 10M MAXSIZE UNLIMITED
alertlog:
alertlog: EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO ONLINE FORCE LOGGING
alertlog: Completed: CREATE TABLESPACE sysaux DATAFILE '/data/oracle/oradata/ORCL/sysaux01.dbf' SIZE 550M REUSE AUTOEXTEND ON NEXT 10M MAXSIZE UNLIMITED
alertlog:
alertlog: EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO ONLINE FORCE LOGGING
alertlog: alter tablespace system default compress for all operations
alertlog: Completed: alter tablespace system default compress for all operations
alertlog: alter tablespace sysaux default compress for all operations
alertlog: Completed: alter tablespace sysaux default compress for all operations
alertlog: processing ?/rdbms/admin/dplsql.bsq
alertlog: processing ?/rdbms/admin/dtxnspc.bsq
alertlog: CREATE SMALLFILE UNDO TABLESPACE UNDOTBS1 DATAFILE '/data/oracle/oradata/ORCL/undotbs01.dbf' SIZE 200M REUSE AUTOEXTEND ON NEXT 10M MAXSIZE UNLIMITED
alertlog:
alertlog: [202] Successfully onlined Undo Tablespace 2.
alertlog: Completed: CREATE SMALLFILE UNDO TABLESPACE UNDOTBS1 DATAFILE '/data/oracle/oradata/ORCL/undotbs01.dbf' SIZE 200M REUSE AUTOEXTEND ON NEXT 10M MAXSIZE UNLIMITED
alertlog:
alertlog: CREATE SMALLFILE TEMPORARY TABLESPACE TEMP TEMPFILE '/data/oracle/oradata/ORCL/temp01.dbf' SIZE 20M REUSE AUTOEXTEND ON NEXT 10M MAXSIZE UNLIMITED
alertlog:
alertlog: Completed: CREATE SMALLFILE TEMPORARY TABLESPACE TEMP TEMPFILE '/data/oracle/oradata/ORCL/temp01.dbf' SIZE 20M REUSE AUTOEXTEND ON NEXT 10M MAXSIZE UNLIMITED
alertlog:
alertlog: ALTER DATABASE DEFAULT TEMPORARY TABLESPACE TEMP
alertlog: Completed: ALTER DATABASE DEFAULT TEMPORARY TABLESPACE TEMP
alertlog: ALTER DATABASE DEFAULT TABLESPACE SYSTEM
alertlog: Completed: ALTER DATABASE DEFAULT TABLESPACE SYSTEM
alertlog: processing ?/rdbms/admin/dfmap.bsq
alertlog: processing ?/rdbms/admin/denv.bsq
alertlog: processing ?/rdbms/admin/drac.bsq
alertlog: processing ?/rdbms/admin/dsec.bsq
alertlog: processing ?/rdbms/admin/doptim.bsq
alertlog: processing ?/rdbms/admin/dobj.bsq
alertlog: processing ?/rdbms/admin/djava.bsq
alertlog: processing ?/rdbms/admin/dpart.bsq
alertlog: processing ?/rdbms/admin/drep.bsq
alertlog: processing ?/rdbms/admin/daw.bsq
alertlog: processing ?/rdbms/admin/dsummgt.bsq
alertlog: processing ?/rdbms/admin/dtools.bsq
alertlog: processing ?/rdbms/admin/dexttab.bsq
alertlog: processing ?/rdbms/admin/ddm.bsq
alertlog: processing ?/rdbms/admin/dlmnr.bsq
alertlog: processing ?/rdbms/admin/ddst.bsq
alertlog: processing ?/rdbms/admin/dfba.bsq
alertlog: processing ?/rdbms/admin/dpstdy.bsq
alertlog: processing ?/rdbms/admin/drupg.bsq
alertlog: processing ?/rdbms/admin/dtlog.bsq
alertlog: Tue Jan 10 11:47:13 2017
alertlog: SMON: enabling tx recovery
alertlog: Starting background process SMCO
alertlog: Tue Jan 10 11:47:13 2017
alertlog: SMCO started with pid=7, OS id=218
alertlog: Tue Jan 10 11:47:14 2017
alertlog: Successfully created internal service SYS$BACKGROUND at open
alertlog: Successfully created internal service SYS$USERS at open
alertlog: replication_dependency_tracking turned off (no async multimaster replication found)
alertlog: Starting background process AQPC
alertlog: Tue Jan 10 11:47:14 2017
alertlog: AQPC started with pid=31, OS id=226
alertlog: Completed: CREATE DATABASE "ORCL"
alertlog: MAXINSTANCES 8
alertlog: MAXLOGHISTORY 1
alertlog: MAXLOGFILES 16
alertlog: MAXLOGMEMBERS 3
alertlog: MAXDATAFILES 100
alertlog: DATAFILE '/data/oracle/oradata/ORCL/system01.dbf' SIZE 700M REUSE AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED
alertlog: EXTENT MANAGEMENT LOCAL
alertlog: SYSAUX DATAFILE '/data/oracle/oradata/ORCL/sysaux01.dbf' SIZE 550M REUSE AUTOEXTEND ON NEXT 10M MAXSIZE UNLIMITED
alertlog: SMALLFILE DEFAULT TEMPORARY TABLESPACE TEMP TEMPFILE '/data/oracle/oradata/ORCL/temp01.dbf' SIZE 20M REUSE AUTOEXTEND ON NEXT 10M MAXSIZE UNLIMITED
alertlog: SMALLFILE UNDO TABLESPACE "UNDOTBS1" DATAFILE '/data/oracle/oradata/ORCL/undotbs01.dbf' SIZE 200M REUSE AUTOEXTEND ON NEXT 10M MAXSIZE UNLIMITED
alertlog: CHARACTER SET AL32UTF8
alertlog: NATIONAL CHARACTER SET AL16UTF16
alertlog: LOGFILE GROUP 1 ('/data/oracle/oradata/ORCL/redo01.log') SIZE 100M,
alertlog: GROUP 2 ('/data/oracle/oradata/ORCL/redo02.log') SIZE 100M,
alertlog: GROUP 3 ('/data/oracle/oradata/ORCL/redo03.log') SIZE 100M
alertlog: USER SYS IDENTIFIED BY USER SYSTEM IDENTIFIED BY
alertlog: Tue Jan 10 11:47:14 2017
alertlog: CREATE SMALLFILE TABLESPACE "USERS" LOGGING DATAFILE '/data/oracle/oradata/ORCL/users01.dbf' SIZE 5M REUSE AUTOEXTEND ON NEXT 10M MAXSIZE UNLIMITED EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO
alertlog: Completed: CREATE SMALLFILE TABLESPACE "USERS" LOGGING DATAFILE '/data/oracle/oradata/ORCL/users01.dbf' SIZE 5M REUSE AUTOEXTEND ON NEXT 10M MAXSIZE UNLIMITED EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO
alertlog: ALTER DATABASE DEFAULT TABLESPACE "USERS"
alertlog: Completed: ALTER DATABASE DEFAULT TABLESPACE "USERS"
alertlog: Tue Jan 10 11:47:35 2017
alertlog: Thread 1 advanced to log sequence 2 (LGWR switch)
alertlog: Current log# 2 seq# 2 mem# 0: /data/oracle/oradata/ORCL/redo02.log
alertlog: Tue Jan 10 11:48:26 2017
alertlog: Thread 1 advanced to log sequence 3 (LGWR switch)
alertlog: Current log# 3 seq# 3 mem# 0: /data/oracle/oradata/ORCL/redo03.log
alertlog: Tue Jan 10 11:48:56 2017
alertlog: Thread 1 cannot allocate new log, sequence 4
alertlog: Checkpoint not complete
alertlog: Current log# 3 seq# 3 mem# 0: /data/oracle/oradata/ORCL/redo03.log
alertlog: Tue Jan 10 11:48:59 2017
alertlog: Thread 1 advanced to log sequence 4 (LGWR switch)
alertlog: Current log# 1 seq# 4 mem# 0: /data/oracle/oradata/ORCL/redo01.log
alertlog: Tue Jan 10 11:49:17 2017
alertlog: Create Relation IPS_PACKAGE_UNPACK_HISTORY
alertlog: Tue Jan 10 11:49:42 2017
alertlog: Thread 1 advanced to log sequence 5 (LGWR switch)
alertlog: Current log# 2 seq# 5 mem# 0: /data/oracle/oradata/ORCL/redo02.log
alertlog: Tue Jan 10 11:49:54 2017
alertlog: Thread 1 cannot allocate new log, sequence 6
alertlog: Checkpoint not complete
alertlog: Current log# 2 seq# 5 mem# 0: /data/oracle/oradata/ORCL/redo02.log
alertlog: Tue Jan 10 11:49:57 2017
alertlog: Thread 1 advanced to log sequence 6 (LGWR switch)
alertlog: Current log# 3 seq# 6 mem# 0: /data/oracle/oradata/ORCL/redo03.log
alertlog: Tue Jan 10 11:50:24 2017
alertlog: Thread 1 cannot allocate new log, sequence 7
alertlog: Checkpoint not complete
alertlog: Current log# 3 seq# 6 mem# 0: /data/oracle/oradata/ORCL/redo03.log
alertlog: Tue Jan 10 11:50:29 2017
alertlog: Thread 1 advanced to log sequence 7 (LGWR switch)
alertlog: Current log# 1 seq# 7 mem# 0: /data/oracle/oradata/ORCL/redo01.log
alertlog: Tue Jan 10 11:51:50 2017
alertlog: Thread 1 cannot allocate new log, sequence 8
alertlog: Checkpoint not complete
alertlog: Current log# 1 seq# 7 mem# 0: /data/oracle/oradata/ORCL/redo01.log
alertlog: Tue Jan 10 11:51:53 2017
alertlog: Thread 1 advanced to log sequence 8 (LGWR switch)
alertlog: Current log# 2 seq# 8 mem# 0: /data/oracle/oradata/ORCL/redo02.log
alertlog: Tue Jan 10 11:52:57 2017
alertlog: Thread 1 cannot allocate new log, sequence 9
alertlog: Checkpoint not complete
alertlog: Current log# 2 seq# 8 mem# 0: /data/oracle/oradata/ORCL/redo02.log
alertlog: Tue Jan 10 11:53:00 2017
alertlog: Thread 1 advanced to log sequence 9 (LGWR switch)
alertlog: Current log# 3 seq# 9 mem# 0: /data/oracle/oradata/ORCL/redo03.log
alertlog: Tue Jan 10 11:53:12 2017
alertlog: Resize operation completed for file# 3, old size 204800K, new size 215040K
alertlog: Tue Jan 10 11:53:45 2017
alertlog: Shared IO Pool defaulting to 128MB. Trying to get it from Buffer Cache for process 236.
alertlog: Resize operation completed for file# 3, old size 215040K, new size 225280K
alertlog: Resize operation completed for file# 3, old size 225280K, new size 235520K
alertlog: Tue Jan 10 11:53:54 2017
alertlog: Thread 1 cannot allocate new log, sequence 10
alertlog: Checkpoint not complete
alertlog: Current log# 3 seq# 9 mem# 0: /data/oracle/oradata/ORCL/redo03.log
alertlog: Tue Jan 10 11:53:57 2017
alertlog: Thread 1 advanced to log sequence 10 (LGWR switch)
alertlog: Current log# 1 seq# 10 mem# 0: /data/oracle/oradata/ORCL/redo01.log
alertlog: Tue Jan 10 11:54:03 2017
alertlog: ALTER SYSTEM SET db_securefile='NEVER' SCOPE=MEMORY;
alertlog: Tue Jan 10 11:54:03 2017
alertlog: ALTER SYSTEM SET db_securefile='PREFERRED' SCOPE=MEMORY;
alertlog: Tue Jan 10 11:54:04 2017
alertlog: Resize operation completed for file# 3, old size 235520K, new size 245760K
alertlog: Tue Jan 10 11:54:04 2017
alertlog: Resize operation completed for file# 4, old size 5120K, new size 15360K
alertlog: Resize operation completed for file# 4, old size 15360K, new size 25600K
alertlog: Resize operation completed for file# 4, old size 25600K, new size 35840K
alertlog: Resize operation completed for file# 4, old size 35840K, new size 46080K
alertlog: Resize operation completed for file# 4, old size 46080K, new size 56320K
alertlog: Resize operation completed for file# 4, old size 56320K, new size 66560K
alertlog: Resize operation completed for file# 4, old size 66560K, new size 76800K
alertlog: Resize operation completed for file# 4, old size 76800K, new size 87040K
alertlog: Resize operation completed for file# 4, old size 87040K, new size 97280K
alertlog: Resize operation completed for file# 4, old size 97280K, new size 107520K
alertlog: Resize operation completed for file# 4, old size 107520K, new size 117760K
alertlog: Resize operation completed for file# 4, old size 117760K, new size 128000K
alertlog: Resize operation completed for file# 4, old size 128000K, new size 138240K
alertlog: Resize operation completed for file# 4, old size 138240K, new size 148480K
alertlog: Resize operation completed for file# 4, old size 148480K, new size 158720K
alertlog: Resize operation completed for file# 4, old size 158720K, new size 168960K
alertlog: Resize operation completed for file# 4, old size 168960K, new size 179200K
alertlog: Resize operation completed for file# 4, old size 179200K, new size 189440K
alertlog: Resize operation completed for file# 4, old size 189440K, new size 199680K
alertlog: Resize operation completed for file# 4, old size 199680K, new size 209920K
alertlog: Resize operation completed for file# 4, old size 209920K, new size 220160K
alertlog: Resize operation completed for file# 4, old size 220160K, new size 230400K
alertlog: Tue Jan 10 11:54:15 2017
alertlog: Resize operation completed for file# 3, old size 245760K, new size 256000K
alertlog: Tue Jan 10 11:54:16 2017
alertlog: Buffer Cache Full DB Caching mode changing from FULL CACHING ENABLED to FULL CACHING DISABLED
alertlog: Full DB Caching disabled: DEFAULT_CACHE_SIZE should be at least 19 MBs bigger than current size.
alertlog: Tue Jan 10 11:54:16 2017
alertlog: Resize operation completed for file# 4, old size 230400K, new size 240640K
alertlog: Tue Jan 10 11:54:24 2017
alertlog:
alertlog: XDB installed.
alertlog:
alertlog: XDB initialized.
alertlog: Tue Jan 10 11:54:32 2017
alertlog: Resize operation completed for file# 3, old size 256000K, new size 266240K
alertlog: Tue Jan 10 11:54:33 2017
alertlog: Thread 1 cannot allocate new log, sequence 11
alertlog: Checkpoint not complete
alertlog: Current log# 1 seq# 10 mem# 0: /data/oracle/oradata/ORCL/redo01.log
alertlog: Tue Jan 10 11:54:34 2017
alertlog: Thread 1 advanced to log sequence 11 (LGWR switch)
alertlog: Current log# 2 seq# 11 mem# 0: /data/oracle/oradata/ORCL/redo02.log
alertlog: TABLE SYS.WRI$_OPTSTAT_HISTHEAD_HISTORY: ADDED INTERVAL PARTITION SYS_P181 (42744) VALUES LESS THAN (TO_DATE(' 2017-01-11 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
alertlog: Tue Jan 10 11:55:20 2017
alertlog: Resize operation completed for file# 3, old size 266240K, new size 276480K
alertlog: Tue Jan 10 11:55:34 2017
alertlog: Resize operation completed for file# 3, old size 276480K, new size 286720K
alertlog: Tue Jan 10 11:55:45 2017
alertlog: Resize operation completed for file# 3, old size 286720K, new size 296960K
alertlog: Tue Jan 10 11:55:45 2017
alertlog: Thread 1 cannot allocate new log, sequence 12
alertlog: Checkpoint not complete
alertlog: Current log# 2 seq# 11 mem# 0: /data/oracle/oradata/ORCL/redo02.log
alertlog: Tue Jan 10 11:55:48 2017
alertlog: Thread 1 advanced to log sequence 12 (LGWR switch)
alertlog: Current log# 3 seq# 12 mem# 0: /data/oracle/oradata/ORCL/redo03.log
alertlog: TABLE SYS.WRI$_OPTSTAT_HISTGRM_HISTORY: ADDED INTERVAL PARTITION SYS_P201 (42744) VALUES LESS THAN (TO_DATE(' 2017-01-11 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
alertlog: Tue Jan 10 11:56:00 2017
alertlog: Resize operation completed for file# 3, old size 296960K, new size 307200K
alertlog: SERVER COMPONENT id=CATPROC: timestamp=2017-01-10 11:56:00
alertlog: Tue Jan 10 11:56:18 2017
alertlog: Resize operation completed for file# 3, old size 307200K, new size 317440K
alertlog: Tue Jan 10 11:56:22 2017
alertlog: SERVER COMPONENT id=UTLRP_BGN: timestamp=2017-01-10 11:56:22
alertlog: SERVER COMPONENT id=UTLRP_END: timestamp=2017-01-10 11:56:27
alertlog: Shutting down instance (immediate)
alertlog: Stopping background process SMCO
alertlog: Shutting down instance: further logons disabled
alertlog: Stopping background process MMNL
alertlog: Stopping background process MMON
alertlog: License high water mark = 2
alertlog: Tue Jan 10 11:56:34 2017
alertlog: All dispatchers and shared servers shutdown
alertlog: ALTER DATABASE CLOSE NORMAL
alertlog: Tue Jan 10 11:56:36 2017
alertlog: SMON: disabling tx recovery
alertlog: Tue Jan 10 11:56:36 2017
alertlog: Stopping Emon pool
alertlog: Stopping Emon pool
alertlog: Tue Jan 10 11:56:36 2017
alertlog: SMON: disabling cache recovery
alertlog: Shutting down archive processes
alertlog: Archiving is disabled
alertlog: Tue Jan 10 11:56:36 2017
alertlog: Thread 1 closed at log sequence 12
alertlog: Successful close of redo thread 1
alertlog: Completed: ALTER DATABASE CLOSE NORMAL
alertlog: ALTER DATABASE DISMOUNT
alertlog: Shutting down archive processes
alertlog: Archiving is disabled
alertlog: Completed: ALTER DATABASE DISMOUNT
alertlog: Tue Jan 10 11:56:37 2017
alertlog: ARCH: Archival disabled due to shutdown: 1089
alertlog: Shutting down archive processes
alertlog: Archiving is disabled
alertlog: ARCH: Archival disabled due to shutdown: 1089
alertlog: Shutting down archive processes
alertlog: Archiving is disabled
alertlog: Tue Jan 10 11:56:39 2017
alertlog: Stopping background process VKTM
alertlog: Tue Jan 10 11:56:46 2017
alertlog: Instance shutdown complete
Im using osx.
after running make full.
Here is the error.
Successfully built 258d8fe419a1 Installing Oracle Database software... 8543679cbee2 bofm/oracle12c:preinstall "/tmp/install/install" 4 minutes ago Exited (127) 2 minutes ago aa_oracle_zz_install aa_oracle_zz_install /bin/bash: ./runInstaller: No such file or directory make: *** [install] Error 127
After make all
root@hadoop:/exch/docker-oracle12c-master# make run
error: exec failed: permission deniedroot@hadoop:/exch/docker-oracle12c-master# make run-priv
docker run -it --rm -v /data --privileged --name oracle bofm/oracle12c bash --shm
Mounting /dev/shm...
error: exec failed: permission denied
Makefile:49: recipe for target 'run-priv' failed
make: *** [run-priv] Error 1
Hello
your image does not work based on docker with zfs storage driver
I think its a bug in docker/zfs (read on), but I want to keep you noticed, and perhaps you have some ideas for workarounds. I'll try to file an issue on docker...
ubuntu 16.04 with zfs
docker 1.11.2
https://docs.docker.com/engine/userguide/storagedriver/zfs-driver/
(setup of zfs fs is a bit simpler with new ubuntu now.)
both "make test" and "test3" (means with and without a volume) fails on both listener and on dbca execution. See the erros below.
I also tried to run the image with "-u root", and I noticed,that the error on the listener went away, however, dbca is not allowed to run as root user.
--privileged also did not help.
Also mind that when I try to create such files manually (as oracle user) things work fine, so I think oracle does some special things during opening the files.
regarding volumes:
(1) no -v : fails (implies zfs)
(2) -v /data: fails (implieds zfs)
(3) -v /some_non_zfs:/data: works
(4) -v /some_zfs:/data: fails
So, it seems that docker/zfs integration has a problem with access control setup (remember the -u root above, where the listener startup is successful)
Greetings, Gerhard.
listener: [AutoCreate Relation]: following error encountered and ignored:
listener: DIA-48316: relation [ADR_CONTROL] unavailable or cannot be created
listener: DIA-48210: Relation Not Found
listener: DIA-48166: error with opening ADR block file because file does not exist [/app/oracle/diag/tnslsnr/bc9000c85096/listener/metadata/ADR_CONTROL.ams] [0]
listener: DIA-48122: error with opening the ADR block file [/app/oracle/diag/tnslsnr/bc9000c85096/listener/metadata/ADR_CONTROL.ams] [0]
listener: DIA-27040: Message 27040 not found; product=RDBMS; facility=DIA
listener: Linux-x86_64 Error: 22: Invalid argument
listener: Additional information: 2
...
dbca_log: Creating and starting Oracle instance
dbca_log: DBCA_PROGRESS : 2%
dbca_log: DBCA_PROGRESS : 3%
dbca_log: DBCA_PROGRESS : 5%
dbca_log: ORA-01501: CREATE DATABASE failed
dbca_log: ORA-00200: control file could not be created
dbca_log: ORA-00202: control file: '/data/oracle/oradata/ORCL/control01.ctl'
dbca_log: ORA-27040: file create error, unable to create file
创建完bofm/oracle以后,执行如下:
docker run -t -i --shm-size 2GB borm/oracle
在创建oracle时,发现执行错误:
dbca_log: ORA-00845: MEMORY_TARGET not supported on this system
Because I want to run two container in docker to test .
getting below mentioned error message when i try to execute
root@ubuntu:~# docker exec -it oracle_database gosu oracle sqlplus / as sysdba
error: failed switching to "oracle": operation not permitted
When running the container, there is an error:
MEMORY_TARGET not supported on this system
and the containers exits. My info:
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 257
Server Version: 1.11.1
Storage Driver: devicemapper
Pool Name: docker-253:1-2495626-pool
Pool Blocksize: 65.54 kB
Base Device Size: 10.74 GB
Backing Filesystem: ext4
Data file: /dev/loop0
Metadata file: /dev/loop1
Data Space Used: 11.57 GB
Data Space Total: 107.4 GB
Data Space Available: 17.74 GB
Metadata Space Used: 11.38 MB
Metadata Space Total: 2.147 GB
Metadata Space Available: 2.136 GB
Udev Sync Supported: true
Deferred Removal Enabled: false
Deferred Deletion Enabled: false
Deferred Deleted Device Count: 0
Data loop file: /var/lib/docker/devicemapper/devicemapper/data
Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
Library Version: 1.02.109 (2015-09-22)
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge null host
Kernel Version: 4.4.9-300.fc23.x86_64
Operating System: Fedora 23 (Workstation Edition)
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 7.704 GiB
Name: gali7
ID: 5SH4:FMHV:JZ6W:AKLM:QBAS:LU7R:DHNI:KTFW:TZGX:HQBR:5SY4:JNZO
Docker Root Dir: /var/lib/docker
Debug mode (client): false
Debug mode (server): false
Registry: https://index.docker.io/v1/
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.