Docker not working in Windows10

You may need another couple of steps additional to what @programmerq mentioned.

  • Create empty text file: C:\Users\<user>\.docker\machine\machines\default\config.json
  • Stop VBoxHeadless.exe service from Windows task manager

Try docker-machine rm -f default and docker-machine create -d virtualbox --virtualbox-memory 2048 default commands afterwards to remove/add default


It looks like something bad happened to your docker-machine default machine.

To recover, do the following:

docker-machine rm -f default

Next, open the virtualbox GUI and make sure that there isn't a VM that corresponds with that old "default" VM, just in case. If there is, manually delete it from there.

Now, open the quickstart terminal again and it should create a new "default" virtual machine for you.

Alternatively, you can create it like this:

docker-machine create -d virtualbox --virtualbox-memory 2048 default

At that point, your sequence of commands should work as expected again.