Changes

Jump to: navigation, search

Docker

856 bytes added, 20:56, 22 June 2018
Install software
==Install software==
First we have to install the docker-machine app itself:
<pre>
base=https://github.com/docker/machine/releases/download/v0.14.0 &&
curl -L $base/docker-machine-$(uname -s)-$(uname -m) >/tmp/docker-machine &&
sudo install /tmp/docker-machine /usr/local/bin/docker-machine
</pre>
 
 
Secondly we have to install the hypervisor driver for the docker-machine to be able to create, manage Virtual Machines running on the hypervisor. As we are going to use the KVM hypervisor, we have to install the "docker-machine-driver-kvm" driver:
<pre>
# curl -Lo docker-machine-driver-kvm \
https://github.com/dhiltgen/docker-machine-kvm/releases/download/v0.7.0/docker-machine-driver-kvm \
&& chmod +x docker-machine-driver-kvm \
&& sudo mv docker-machine-driver-kvm /usr/local/bin
</pre>
 
We suppose that KVM and the libvirt is already installed on the system.
==Create machines==

Navigation menu