oracle in docker

Oracle 11g Enterprise Edition Database Docker Image

A Docker image for Oracle Database 11g Enterprise Edition Release
based on an Oracle Linux 7.1 image.

Build Image

Due to legal restrictions this image is not available on the Docker Hub. However, with some time and patience you may build it yourself.


Download the following zip files from Oracle Tech Net
and put them in the ‘oracle-11g/installation_files/’ folder:


Finally, from the ‘oracle-11g’ folder simply run:

$ docker build -t ufoscout/oracle-11g .

The build process could take long tiem to run; so, it is now the moment to have break and drink some good coffee…


Due to Docker limitations this image must be run with the “privileged” flag. This is due to the amount of available memory on /dev/shm
which is limited to 64MB (see #2606
). This is not sufficient to meet Oracle’s MEMORY_TARGET
minimum requirements.

Please note that this limitation has been removed in Docker 1.10.

Create a new container running an Oracle 12c database:

$ docker run --privileged -d ufoscout/oracle-11g


You can connect as SYSDBA with the following statement:

$ docker exec -ti containerName sudo -u oracle -i bash -c "sqlplus / AS SYSDBA"

This is particularly useful, if you don’t want to expose any ports and solely rely on linking containers with each other directly.

稿源:Linux服务器维护 (源链) | 关于 | 阅读提示

本站遵循[CC BY-NC-SA 4.0]。如您有版权、意见投诉等问题,请通过eMail联系我们处理。
酷辣虫 » 后端存储 » oracle in docker

喜欢 (0)or分享给?

专业 x 专注 x 聚合 x 分享 CC BY-NC-SA 4.0

使用声明 | 英豪名录