Reputation: 21
just now, i reinstall OSX on my macbook. Then i install Docker Desktop. Because i want to use oracle database. But i encountered this logs.
Database is not installed. Installing...
Installation files not found. Unzip installation files into mounted(/install) folder
at first, i install SQL Developer. and in Terminal, i install jaspeen/oracle-11g by docker.
then, i run docker image.
$ docker run -d -p 59160:22 -p 59161:1521 jaspeen/oracle-11g
then, i typed
$ docker ps -l
but container's status is 'Exited (1) 16 seconds ago'
12750f964708 jaspeen/oracle-11g "/assets/entrypoint.…" 17 seconds ago Exited (1) 16 seconds ago busy_dewdney
if i have to install oracle database in ORACLE homepage?
Upvotes: 1
Views: 9835
Reputation: 1159
I had the same issue and solved it by:
docker run --privileged --name oracle11g -p 1521:1521 -v path/to/your/install_folder:/install jaspeen/oracle-11g
. The idea here is that the value you set for the "path/to/your/install_folder" to be the location of the folder that contains the "database" folder. In your case is it the "install_folder" folder. That -v flag is actually mounting your "install_folder" into docker container at "/install" location.It will take a while until the process ends. It should first output the following:
Database is not installed. Installing...
Installing Oracle Database 11g
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 120 MB. Actual 50321 MB Passed
Checking swap space: must be greater than 150 MB. Actual 856 MB Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2020-03-30_08-00-03PM. Please wait ...
When you can connect to it with credentials below, then it is up&running:
username/password: SYS/oracle
SID: orcl
Note: I had tried more than one release from Oracle's download site until I found the lucky one. For example, in one situation the console just exited without any reason. When I typed docker ps
, it showed that container exited with status 255 (which I did not find helpful).
I also found inspiration from here: https://programmer.group/install-oracle-11g-using-docker.html
Upvotes: 2
Reputation: 3089
Download database installation files from http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index-092322.html and unpack them to install_folder. Run container and it will install oracle and create database:
docker run --privileged --name oracle11g -p 1521:1521 -v :/install jaspeen/oracle-11g
Upvotes: 0