diff --git a/podman/files/container.sh.jinja b/podman/files/container.sh.jinja index 090921b..88ae559 100644 --- a/podman/files/container.sh.jinja +++ b/podman/files/container.sh.jinja @@ -46,7 +46,9 @@ function create_container() { --device {{ key }}:{{ value}} \ {%- endfor %} {%- endif %} - {{ args['image'] }}:{{ args['tag'] }} + {{ args['image'] }}:{{ args['tag'] }}{%- if args['run'] is defined %} \ + {{ args['run'] }} + {%- endif %} fi }