I have an interesting issue on SLES12SP2 where I type service docker start and then I lose connection to ssh from putty… however I can ssh from Linux to Linux with no problems… Why would docker kill / prevent me from ssh?
The IP routes look good and my interface is still there… If I reboot the server ssh comes back but as soon as I start docker it kills it from putty and I have to use linux to linux.
Maybe your docker networks conflict with the actual networks on your host.
Start docker, ssh to it from the Linux machine, and check with “docker network ls” and “docker network inspect NETWORK-ID/NAME” to see if any of the networks have the same ip as host, if they do, you need to configure docker to use a different ip range
after docker swarm init
docker network ls
NETWORK ID NAME DRIVER SCOPE
b62e8ad6a082 bridge bridge local
e5f5c2f138db docker_gwbridge bridge local
500f74f46b14 host host local
omk1mi736ttj ingress overlay swarm
e419dd895f4a none null local
you ever figure this out? i am having the same problem and cant figure it out. im about ready to delete everything and start from scratch which will be alot of work and may not even work since this is supposed to be network related. it was working one day and not the next
Can you tell us more about your environment? Docker can run in so many different environment It is getting harder and harder to help without knowing the exact operating system and installation method.
If it works one they and not the next day, then either your Docker network changed or something in your environment. One example is that when you are on Windows in without Docker desktop in a WSL distribution where the Docker networks’ ipranges can conflict with the ip range of WSL which changes after every reboot. It was just one possible case, so don’t focus on this one when you describe your environment