Skip to content

Instantly share code, notes, and snippets.

@inokappa
Created May 4, 2014 09:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save inokappa/bd67ac42a0267f5f715d to your computer and use it in GitHub Desktop.
Save inokappa/bd67ac42a0267f5f715d to your computer and use it in GitHub Desktop.
Puppet から Docker コンテナを起動するマニフェスト
node default {
include 'docker'
$IMAGES = ['centos','ubuntu']
docker::image { $IMAGES :
ensure => 'present',
}
$CONTAINER = ['container1','container2']
docker::run { $CONTAINER :
image => 'centos',
command => 'echo "a"',
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment