Running telnet from docker container

Sometimes you might need to execute telnet from Docker container, but telnet typically isn’t installed and can’t be installed easily.

However there’s a simple solution which I want to share with you.

But you can easily test port availability with Python:

import socket
conn=socket.create_connection(('kagarlickij.com','80'))

I hope this info will be useful to you, and if you need any help feel free to use contact from on the main page.