Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install telnet in Docker for Windows 10

When I run telnet command in Docker it does not run.

enter image description here

Could you please tell me how to install telnet in Docker for Windows?

like image 343
Monis Avatar asked Sep 02 '16 07:09

Monis


People also ask

Is telnet installed on Windows 10?

Telnet is not installed by default on Windows; if you try to run it you will get the message "'Telnet' is not recognized as an operable program or batch file." To install Telnet: Click Start.


1 Answers

Old question I know but you can install telnet on docker for windows with the following in your dockerfile

  RUN powershell -Command Add-WindowsFeature "telnet-client"
like image 133
Ian1971 Avatar answered Sep 29 '22 21:09

Ian1971