Two docker containers, one is a copy of the other, but i can´t connect to the database inside the copied one

I have a docker container with a oracle database in it.
It works fine, i can access the database with toad on my windows 10 no problems.

Then, i committed this container to generate a image of it.
When i run this new image, the container runs fine, but on this container i can´t access the database with toad, it shows
TNS:no listener

I know the database is fine, because i can access it from command line inside the container.

I´m new to docker, i don´t know what is going on, anyone can help?


Source: Docker Questions