added run option to container

This commit is contained in:
= 2023-03-28 15:57:56 +02:00
parent a1b81835b0
commit 5b0fed4c96

View File

@ -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
}