# Rancher-cli catalog install can't find template

**URL:** <https://forums.suse.com/t/rancher-cli-catalog-install-cant-find-template/6487>\
**Category:** Rancher 1.x\
**Created:** [May 26, 2017, 9:07pm UTC](https://forums.suse.com/t/rancher-cli-catalog-install-cant-find-template/6487 "2017-05-26T21:07:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vthyng](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/vthyng/32/2501_2.png) [@vthyng](https://forums.suse.com/u/vthyng)\
**Post date:** [May 26, 2017, 9:07pm UTC](https://forums.suse.com/t/rancher-cli-catalog-install-cant-find-template/6487/1 "2017-05-26T21:07:14Z")

</div>

I am trying to use the rancher cli tool for the first time to catalog install. This is also my first catalog template creation, but am trying to deploy a docker-compose that I deployed with rancher-compose with no problems. I am getting an error:  
FATA[0008] Failed to find template rancher-tutorial

The command I am running is  
rancher --access-key DAC0018D81D09274C204 --secret-key x3zi2U8LM7hToggERivRVfiDPSWXB5EjpeXxxzgU --url [https://rancher.secretdomain.com/v1/projects/1a153](https://rancher.secretdomain.com/v1/projects/1a153) --env dev catalog install ‘rancher-tutorial:1.0’

The docs seem to leave many questions such as where do I need to run the rancher tool from in order to find my template? I have tried running the command from every realistic location there is could possibly need to be to find my template, but no love. I have tried without --env since that seems silly to have to include with an environment api key that should already know which env to operate against. Need some guidance here. Thanks!

---

<div class="post-metadata">

**Author:** ![Michal.Jusik](https://avatars.discourse-cdn.com/v4/letter/m/9dc877/32.png) [@Michal.Jusik](https://forums.suse.com/u/Michal.Jusik)\
**Post date:** [May 30, 2017, 7:42am UTC](https://forums.suse.com/t/rancher-cli-catalog-install-cant-find-template/6487/2 "2017-05-30T07:42:49Z")

</div>

Hi there,

Correct me if I’m wrong, but are you trying to install catalog to the Rancher/cattle as a template ?

If so, maybe -answers value, -a value switch might help you. This is the specification of the answer file, which probably keeps the information of the location of your template. Did you ever try to install template via UI ? This might give you some clues.

rancher catalog install syntax :

 ![](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/8/8be66206a6156a51da7e86e5cd99a48a7d32f0ba.png)

Unfortunately I didn’t install template from the CLI myself, so it’s hard to help more.

---

<div class="post-metadata">

**Author:** ![vthyng](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/vthyng/32/2501_2.png) [@vthyng](https://forums.suse.com/u/vthyng)\
**Post date:** [June 1, 2017, 3:10pm UTC](https://forums.suse.com/t/rancher-cli-catalog-install-cant-find-template/6487/3 "2017-06-01T15:10:34Z")

</div>

Thank you for the reply. I am trying to install a service template in to an existing catalog. I am not trying to create a new catalog. I still have not been able to resolve this, but for now I am working around the issue by using rancher-compose and having it use my catalog service template docker/rancher-compose files.
