MaksymBilenko / docker-oracle-12c

:whale: Docker image with Oracle Database 12c on board
Apache License 2.0
686 stars 288 forks source link

How can I use DBCA in that docker? #15

Closed jradesenv closed 8 years ago

jradesenv commented 8 years ago

I have to use DBCA to execute some templates. How can I use it with this docker container?

ChaosEngine commented 8 years ago

Well, one could use vnc docker inherited from docker-oracle-12c and start xterm session from that. I've been testing small enhancement exactly for this purpose: https://github.com/ChaosEngine/dockerfiles/tree/master/oracle12c

Build it and run: $ docker run -it --rm -p 8080:8080 -p 1521:1521 -p 5901:5901 -v /home/user/oracle_data:/u01/app/oracle --name=oracle [built_image]

then use vnc client to connect to it with password: password. You'll have X11 with access to sqldeveloper, dbca and stuff. Tests are still in progress.