added run option to container
This commit is contained in:
parent
a1b81835b0
commit
5b0fed4c96
@ -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
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user