I am trying to use Docker on a windows machine and is hit with every possible issue it seems. My latest one is this: My machine is running but I can\'t seem to interact with
I got the solution from this issue. It not just like Nikesh's answer said SwitchDaemon
could fix it directly. I think you should run this command twice to switch your daemon to your previous daemon.
cd "C:\Program Files\Docker\Docker"
./DockerCli.exe -SwitchDaemon
# then check the docker OS/Arch
docker version
# You may see the different OS/Arch
./DockerCli.exe -SwitchDaemon
# then you got your images and containers back
This command is just switch your daemon from your defualt daemon to another daemon(depends on what you set). When you switch to another daemon, the images and containers on the former daemon will disappear(but not deleted).