# Template support in rancher-cli?

**URL:** <https://forums.suse.com/t/template-support-in-rancher-cli/9518>\
**Category:** Rancher 1.x\
**Created:** [February 16, 2018, 7:43am UTC](https://forums.suse.com/t/template-support-in-rancher-cli/9518 "2018-02-16T07:43:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![flypenguin](https://avatars.discourse-cdn.com/v4/letter/f/e480ec/32.png) [@flypenguin](https://forums.suse.com/u/flypenguin)\
**Post date:** [February 16, 2018, 7:43am UTC](https://forums.suse.com/t/template-support-in-rancher-cli/9518/1 "2018-02-16T07:43:09Z")

</div>

Hi all, I just learned that rancher-catalog supports go templating for the docker-compose.yml file.

Can I do this with rancher-cli as well? I tried with `rancher stacks create --docker-compose x.tmpl` - and failed cause the template was not evaluated.

Basically I just want to do the same I do on the UI, just without the loop via the catalog and from the console. But _with_ a template 🙂

Using rancher cli 0.6.7 btw.
