heat/contrib/docker/docker
Christian Berendt 58e141b2ac replace dict.iteritems() with six.iteritems(dict)
According to https://wiki.openstack.org/wiki/Python3 dict.iteritems()
should be replaced with six.iteritems(dict).

Change-Id: I9e2881a006433c8b44a3caccebc73bae4973a041
2014-08-06 10:56:09 +08:00
..
resources replace dict.iteritems() with six.iteritems(dict) 2014-08-06 10:56:09 +08:00
tests Expose recent docker features in the resource 2014-07-17 07:50:12 +02:00
README.md Restructure contrib/ directories 2014-03-03 10:49:28 -05:00
__init__.py Restructure contrib/ directories 2014-03-03 10:49:28 -05:00

README.md

Docker plugin for OpenStack Heat

This plugin enable using Docker containers as resources in a Heat template.

1. Install the Docker plugin in Heat

NOTE: Heat scans several directories to find plugins. The list of directories is specified in the configuration file "heat.conf" with the "plugin_dirs" directive.

Running the following commands will install the Docker plugin in an existing Heat setup.

pip install -r requirements.txt
ln -sf $(cd heat/contrib/docker-plugin/plugin; pwd) /usr/lib/heat/docker
echo "plugin_dirs=$(cd heat/contrib/docker-plugin/plugin; pwd)" > /etc/heat/heat.conf

NOTE: If you already have plugins enabled, you should not run the last command and instead edit the config file "/etc/heat/heat.conf" manually.

2. Restart heat

Only the process "heat-engine" needs to be restarted to load the new installed plugin.