I trying on Windows 10, Trying to connect / login to work interactively on container but I'm getting this kind of error
Restart docker, it falls into this state after the OS reboots. 

The below thread mentions running it a swarm as preventing the issue from reoccurring and several ways to resolve the underlying OS issue with the software that may, or may not be workable for you. 

https://github.com/docker/for-win/issues/1038