I am trying to run the oracle express image, and I can not connect to the default ports 22 and 1521.
docker run -d -e ORACLE_ALLOW_REMOTE=true wnameless/oracle-xe-11g
After running this command, I should be able to ssh into the docker container via port 22 and also connect to oracle via port 1521.
Running a telnet command on these ports produce no response, e.g: telnet 192.168.99.100 1521.
However, when I map the ports I can telnet them fine:
docker run -d -p 49160:22 -p 49161:1521 -e ORACLE_ALLOW_REMOTE=true wnameless/oracle-xe-11g
These are the versions that I am running:
Docker version 1.9.1, build a34a1d5
docker-machine version 0.5.6, build 61388e9
Repo of the docker image: GitHub - wnameless/docker-oracle-xe-11g: Dockerfile of Oracle Database Express Edition 11g Release 2
I run docker on my mac with docker-machine and the virtualbox driver.