engine: resources: docker: Add a docker container resource
This commit is contained in:
committed by
James Shubin
parent
916a92c3d8
commit
51ec91dd16
6
examples/lang/docker_container0.mcl
Normal file
6
examples/lang/docker_container0.mcl
Normal file
@@ -0,0 +1,6 @@
|
||||
docker:container "mgmt-nginx" {
|
||||
state => "running",
|
||||
image => "nginx",
|
||||
cmd => ["nginx", "-g", "daemon off;",],
|
||||
ports => {"tcp" => {80 => 8080,},},
|
||||
}
|
||||
Reference in New Issue
Block a user