I pulled the Oracle 22.214.171.124 docker image from the Oracle Container Registry (
container-registry.oracle.com/database/standard:126.96.36.199) and created a container as per the instructions, leaving the environment file blank so as to keep all the parameters as their defaults (I am aware that I should change the password etc but right now I just want to get it working).
$ docker run -d --env-file ./db_env.dat -p 1527:1521 -p 5507:5500 -it --name dockerDB --shm-size="8g" container-registry.oracle.com/database/standard
I was able to successfully start the container, and can access it via
docker exec. I was also able to verify that the Oracle instance was running correctly by executing some
sqlplus against it from the shell inside the container.
However, I am not able to connect to the Oracle instance from my host machine, either through SQL Developer:
I get no errors, but the connection process just hangs forever. Do I need to change some setup somewhere or have I got the details wrong?