'Docker: Troubles with telnet
I have trouble with connection to a remote host from a docker container, but if I run that command from the OS cmd it connects normally.
Inside docker container I run command:
telnet address port
And I have seen that DNS works, and resolve right address
` Trying xxx.xxx.xxx.xx
`
And it's not connected to a remote address, after 30 seconds it disconnects of course.
I use:
- MacOSx Monterey Version: 12.3.1 with APPLE M1 chip
- Docker Version: 4.7.1
The same schema can work in the window machine of my colleague. I have tried to find a lot of what should be a reason, but can't find an exact answer to solve this issue, so in the end, decided to ask here.
Thanks
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
