If you are trying to telnet in your container to gain access to it, that isn't how you would want to connect. Docker provides that functionality.
Connect into a running container:
docker exec -it <container name> bash
Start a container from image, and connect to it:
docker run -it <image name> bash