commit | 787fb0cc0120c30490d4c6266ae83b6d8f6e4073 | [log] [tgz] |
---|---|---|
author | Filip Pytloun <filip@pytloun.cz> | Fri Aug 26 16:15:04 2016 +0200 |
committer | Filip Pytloun <filip@pytloun.cz> | Fri Aug 26 16:15:04 2016 +0200 |
tree | 1a080dfc6eda6d857ed95f83c30b0dddc12a2701 | |
parent | 0db523063b0e27ecd6e9b69632ab1b29cb9853e1 [diff] |
Option to create stopped container
diff --git a/docker/compose.sls b/docker/compose.sls index 49324ab..09c627b 100644 --- a/docker/compose.sls +++ b/docker/compose.sls
@@ -40,6 +40,7 @@ {{id}}_container: dockerng.running: - name: {{id}} + - start: {{ container.start|default(True) }} - user: {{ container.user|default("root") }} - image: {{container.image}} {%- if 'command' in container %}