Docker Community Forums

Share and learn in the Docker community.

Failure of migrating boot2docker to docker toolbox


(Larry Cai) #1

// no docker toolbox category, so I put it under boot2docker

I have docker boot2docker 1.7.1/ virtualbox 4.3.18 on Windows 7 Enterprise, it works fine. Now I want to upgrade to docker toolbox since boot2docker is deprecated.

  1. install docker toolbox 1.8.1b version, de-select virtualbox/msysgit since I already had virtualbox and git bash env. It is no problem for this step
  2. Run command below according to the guideline, but it gets error in the ends, I can’t find the docker-vm in virtualbox GUI as well. I use docker-machine to list and remove
$ docker-machine create -d virtualbox --virtualbox-import-boot2docker-vm boot2docker-vm docker-vm
Creating VirtualBox VM...
Error creating machine: exit status 1
You will want to check the provider to make sure the machine and associated resources were properly removed.
$ docker-machine ls
error getting state for host docker-vm: machine does not exist
error getting URL for host docker-vm: machine does not exist
error getting state for host docker-vm: machine does not exist
error determining if host is active for host docker-vm: machine does not exist
NAME        ACTIVE   DRIVER       STATE   URL   SWARM
docker-vm            virtualbox   Error
$ docker-machine rm docker-vm
machine does not exist, assuming it has been removed already
Successfully removed docker-vm

Any suggestion ?


(Larry Cai) #2

It mostly due to the different oracle virtualbox installation path for “C:\Program Files\Oracle VM VirtualBox” I registered issue here https://github.com/docker/machine/issues/1737

Try to find a workaround solution