Xavier Climent
Xavier Climent

Reputation: 1609

Create a new Docker VM

I am trying to create a new Docker VM in my OS X 10.9.5 using

$ docker-machine create embedded --url tcp://192.168.99.101:2376

but when I list the machines:

Macintosh:~ joanet$ docker-machine ls
NAME       ACTIVE   DRIVER   STATE   URL                         SWARM
embedded            none             tcp://192.168.99.101:2376  

I see that the DRIVER is set to none, and I think it should be set as virtualbox, isn't it?

Upvotes: 1

Views: 86

Answers (1)

VonC
VonC

Reputation: 1323115

Considering that test/integration/drivers/virtualbox/pause-save-start.bats has a line like:

force_env DRIVER virtualbox

(with force_env checking the value of the environment variable DRIVER), you need indeed to set DRIVER to virtualbox.

It should be set prior to call, for instance, docker machine create.

docker machine create -d virtualbox ...

Upvotes: 1

Related Questions