Docker not working in Windows10

后端 未结 4 841
醉酒成梦
醉酒成梦 2021-01-04 05:52

I am using Docker version 1.12.2, build bb80604 and VirtualBox 5.1.6.

I was able to install Docker Toolbox correctly but I am

4条回答
  •  Happy的楠姐
    2021-01-04 06:15

    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.

提交回复
热议问题