diff --git a/templates/docker-compose.yml.j2 b/templates/docker-compose.yml.j2
index 87df835..0b79a34 100644
--- a/templates/docker-compose.yml.j2
+++ b/templates/docker-compose.yml.j2
@@ -82,9 +82,7 @@ services:
 {% endif %}
 {% if container.command is defined %}
     command:
-{% for command in container.command %}
-      - {{ command }}
-{% endfor %}
+      {{ command }}
 {% endif %}
 {% if container.security_opt is defined %}
     security_opt: