Upload
docker
View
10.657
Download
10
Embed Size (px)
DESCRIPTION
Presentation of the Docker hypervisor for OpenStack Nova for the Havana release
Citation preview
New Nova hypervisor in HavanaDeploy Containers instead of VMs
by Sam Alba@sam_alba
Sep 2013
What is all of that?● Nova is a computing controller for OpenStack
● Havana is the name of the next release (10/17/2013)
● Nova already supports several hypervisors:○ KVM (through qemu), Xen, VMWare, HyperV, PowerVM, etc...
○ Docker
Sep 2013
Nova is not just for Virtual Machines...it’s a computing controller!
Under the hood...
Sep 2013
Source: https://wiki.openstack.org/wiki/Docker
How to use it? (with DevStack)
Sep 2013
Prerequisites:● Ubuntu Precise 12.04
● Kernel >3.2 supporting AUFS
● >=1.5 GB of RAM available
● Check that socat and git installed
sudo apt-get install socat git
How to use it? (with DevStack)
Sep 2013
Install devstack and docker
… and test that everything went well
git clone https://github.com/openstack-dev/devstack.git
cd devstack
echo VIRT_DRIVER=docker >> localrc
./tools/docker/install_docker.sh
./stack.sh
./exercises/docker.sh
How to use it? (with DevStack)
Sep 2013
Start a container!
cd devstack
. openrc
nova boot --image "docker-busybox:latest" \
--flavor m1.nano myinstance
nova show myinstance
docker ps
How to use it? (with DevStack)
Sep 2013
Use public images!
It requires to duplicate images to Glance (by using docker)
cd devstack
. openrc
docker pull vieux/goplay
HOST_IP=$(docker images | grep :5042/docker-busybox \
| cut -d: -f1)
docker tag vieux/goplay $HOST_IP:5042/vieux/goplay
docker push $HOST_IP:5042/vieux/goplay
Horizon (web UI)Launch a new instance...
Sep 2013
Horizon (web UI)Launch a new instance...
Sep 2013
Questions?
Sep 2013
Run it yourself!
Sep 2013
Read the documentation:https://wiki.openstack.org/wiki/Docker
… and please ask for help:#docker on irc.freenode.org