Running Docker on Crouton Fedora 24
Now that we have VirtualBox in Crouton Fedora, setting up Docker is very easy using Docker Machine. If you don’t know about Docker Machine, it’s a utility to install boot2docker which is a tiny Linux distribution made specifically for running Docker images.
Setting up everything
First, we want to install Docker (from Fedora repos) and docker-machine:
dnf install docker
curl -L https://github.com/docker/machine/releases/download/v0.7.0/docker-machine-`uname -s`-`uname -m` > /bin/docker-machine
chmod +x /bin/docker-machine
After that, let’s create a VirtualBox Docker VM:
docker-machine create --driver virtualbox default
Sadly this will result in an error somewhat like this:
...
(default) Check network to re-create if needed...
(default) Creating a new host-only adapter produced an error: /bin/VBoxManage hostonlyif create failed:
(default) 0%...
(default) Progress state:...
