Many people have problems to install Oracle 11XE in a Docker environment because the install file checks the available swap space in the container. In a container environment this fails often - see here or here, because the swap space is optimized for the entire stack and not controlled from within the operating system of the container.

We have to disable the swap space check in the installation file. I wrote another blog post about this. The problem is here, that you need a Linux based system to do the necessary steps. Under Windows you have no chance and you have to do it by yourself because for license reasons everyone has to download his/her own copy of the install file from Oracle OTN.

I came up with the idea to do simply all the steps in a Docker container under the same Linux (oraclelinux:7-slim) which is later on needed with the official Oracle Docker file for an XE instance. With this solution you are able to prepare the install file more or less automatically under every operating system, which can run Docker - also under Windows. For more Details see the project on GitHub.

Happy installing :-)