I pulled the image from this docker pull store/oracle/database-enterprise:12.2.0.1
Also I can run the database by docker run -d -it --name <Oracle-DB> store/oracle/database-enterprise:12.2.0.1
In my docker status, this container is up, running on port 1521 and healthy. I can also access the db from inside the container.
When I tried to access the db from sql developer from my local inside. I get the error Status : Failure - Test failed: IO Error :The Network adapter could not establish the connection
Username : dummy Password : dummy Hostname : localhost Port : 1521
I use Ubuntu 16.04.
What steps are more needed to access db running on docker?
Edit 1: sql developer runs on local machine, outside the docker container.