2014 09 24 docker openstack athens
DESCRIPTION
Hands on docker with openstack and athensTRANSCRIPT
-
Hands on with Docker + OpenStack
24 September 2014
-
Steps
Prepare the machine
Configure the Nova driver
Set up Devstack
Spawn containers
-
Main guide
wiki.openstack.org/wiki/Docker#Deployment_with_DevStack
-
Prepare the machine
Get a clean machine Prefer Ubuntu 14.04 or 12.04
Clone Devstack git clone https://github.com/openstack-dev/devstack git checkout stable/havana
Install socat sudo apt-get install socat
-
Configure the Nova driver
1. Install Docker curl -sSL https://get.docker.io/ubuntu/ | sudo sh
2. Prepare configuration file echo VIRT_DRIVER=docker >> localrc
3. Run Docker Nova driver installation ./tools/docker/install_docker.sh Do not run the above command as root!
-
Set up Devstack
Install Devstack ./stack.sh Do not run the above command as root!
Configure Apache sudo rm /etc/apache2/sites-enabled/000-default.conf Remove Require all denied from /etc/apache2/apache2.conf sudo service apache2 reload
-
Spawn containers
Log into Horizon Open http://your-server-ip in your browser
Click on Instances under Manage Compute
Click on Launch Instance
-
Spawn containers
-
Spawn containers
-
Lacking features
No way to stop or remove instances
Complex image management
No console access
-
Thank you.