Skip to content

Instantly share code, notes, and snippets.

@scottslowe
Created August 22, 2014 22:32
Show Gist options
  • Save scottslowe/2c22e5548910e5717f12 to your computer and use it in GitHub Desktop.
Save scottslowe/2c22e5548910e5717f12 to your computer and use it in GitHub Desktop.
This very simple Heat template will deploy a Nginx container onto an existing Docker host in an OpenStack environment.
heat_template_version: 2013-05-23
description: >
Heat template to deploy Docker containers to an existing host
resources:
nginx-01:
type: DockerInc::Docker::Container
properties:
image: nginx
docker_endpoint: 'tcp://192.168.1.207:2345'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment