Open dimascool08 opened 4 years ago
See Issue 317 (link)
docker-machine rm default
Hi @dimascool08 @yosef-elementryx
I just found a less destructive solution to the same problem on my Windows 10 machine, and an interesting reason
There are two OpenSSH clients installed in my system: The standalone Windows release and the MSYS2 package. Depending on the one that is used to create the Docker machine, the other does not work to access it afterwards, bailing out with exactly the same error as described above, most probably due to different key files used (I haven't checked that detail yet)
So I just had to make sure that in all my shells and shell session configurations the same SSH client comes first in %PATH%
and the problem was gone
Due to the often many duplications of Unix tools like OpenSSH coming as dependencies or bundled with other ported Unix applications to Windows, and ending up wildly in %PATH%
, that mess could very likely be the actual reason for this issue on other Windows machines as well
USER@DESKTOP-ILDANCJ MINGW64 /c/Program Files/Docker Toolbox $ eval $(docker-machine env default) Error checking TLS connection: ssh command error: command : ip addr show err : exit status 255 output : can anyone please please help me to resolve this
Error checking TLS connection: ssh command error: command : ip addr show err : exit status 255 output : Error checking TLS connection: ssh command error: command : ip addr show err : exit status 255 output :
Error getting IP address: ssh command error: command : ip addr show err : exit status 255 output : docker is configured to use the default machine with IP For help getting started, check out the docs at https://docs.docker.com
Start interactive shell