Search code examples
dockerdocker-machine

How can I create ubuntu based docker host by using docker-machine with VirtualBox?


I'm new to a docker and tried to create docker host with docker-machine.

Currently, I use VirutalBox for trial environment.

When I created docker host with docker-mahine, it created VM with Boot2Docker on VirtualBox by default. But I want to create a docker host with Ubuntu 15.10 on Virtualbox.

Is it possible to use docker-machine for creating Ubuntu based docker host on VirtualBox?


Solution

  • Is it possible to use docker-machine for creating Ubuntu based docker host on VirtualBox?

    Yes, but not with docker-machine directly, which relies on a TinyCore-based linux distribution of 30 Mo only.

    You can try and launch a full-fledge Ubuntu VM, and in it follows the regular docker installation for Ubuntu.