Errors on Windows 10 Home
MS Surface Pro current version of Windows
Because Windows 10 Home uses Docker Toolbox, special attention needs to be given to the configuration.
- Update to the latest version of Docker Toolbox, and Oracle Virtual Box
- The creation of the VM (VirtualBox default) sometimes does not complete, e.g. certificates my not b created, or invalid VM state. I have found that this occurs if you have run docker-machine from a CMD or PowerShell window (same problem in Admin mode)
- Solution, run docker-machine create -d virtualbox default from the git bash that came with ToolBox. The problem is more related to OpenSSH. I already have OpenSSH installed in my C:\WINDOWS\System32\OpenSSH, this seems to be incompatible with the current version of Docker. I would suggest you ensure that the git OpenSSH comes before the Windows one on your PATH. After further research I found setting the PATH order does not help as SSH is not a command executable in git bash, it is a script that is made available whenever the git bash is run.
- Final Solution, perform docker-machine commands from git bash. After starting docker-machine, perform a docker-machine env, ensure the environment variables are still correct. Once docker-machine has been started correctly PowerShell and CMD can be used.