docker run -d --name ora -p 8080:8080 -p 1521:1521 -v /home/lorry/Desktop/data:/u01/app/oracle sath89/oracle-12c
logs:
root@ubuntu:/home/lorry/Desktop# docker logs ora
found files in /u01/app/oracle/oradata Using them instead of initial database
ERROR:
ORA-12547: TNS:lost contact
ERROR:
ORA-12547: TNS:lost contact
Starting web management console
ERROR:
ORA-12547: TNS:lost contact
SP2-0306: Invalid option.
Usage: CONN[ECT] [{logon|/|proxy} [AS {SYSDBA|SYSOPER|SYSASM|SYSBACKUP|SYSDG|SYSKM}] [edition=value]]
where <logon> ::= <username>[/<password>][@<connect_identifier>]
<proxy> ::= <proxyuser>[<username>][/<password>][@<connect_identifier>]
[IMPORT] Not a first start, SKIPPING Import from Volume '/docker-entrypoint-initdb.d'
[IMPORT] If you want to enable import at any state - add 'IMPORT_FROM_VOLUME=true' variable
Database ready to use. Enjoy! ;)
thanks for your image!
i start a container by this:
logs:
the "data" directory contains this folds:
Where i am wrong?