Successfully reported this slideshow.
Your SlideShare is downloading. ×

Running Docker with OpenStack | Docker workshop #1

Loading in …3
×

Check these out next

1 of 11 Ad
1 of 11 Ad
Advertisement

More Related Content

Advertisement

Similar to Running Docker with OpenStack | Docker workshop #1 (20)

Advertisement

Running Docker with OpenStack | Docker workshop #1

  1. 1. New Nova hypervisor in Havana Deploy Containers instead of VMs by Sam Alba @sam_alba sam@dotcloud.com Sep 2013
  2. 2. 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!
  3. 3. Under the hood... Sep 2013 Source: https://wiki.openstack.org/wiki/Docker
  4. 4. 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
  5. 5. 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
  6. 6. 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
  7. 7. 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
  8. 8. Horizon (web UI) Launch a new instance... Sep 2013
  9. 9. Horizon (web UI) Launch a new instance... Sep 2013
  10. 10. Questions? Sep 2013
  11. 11. Run it yourself! Sep 2013 Read the documentation: https://wiki.openstack.org/wiki/Docker … and please ask for help: #docker on irc.freenode.org

×