Docker Community Forums

Share and learn in the Docker community.

Use custom images

(Neocox01) #1

Is it possible to use custom engine images instead of boot2docker when using “docker-machine create”? If yes, any directions about what expects docker-machine in that image so it gets properly configured? I’m using vmwarevsphere driver.

The only option that I’ve seen is using the generic driver.


(Mackenzie Burnett) #2

Try specifying your custom image (an ISO) with the parameter --vmwarevsphere-boot2docker-url. It doesn’t look like any checks are done to see if it’s actually a boot2docker image.

It looks like docker-machine first installs docker and some dependencies on the VM then inserts the SSH key into it and generates certificates.

Hope this helps!