# I want to "copy" a stack

**URL:** <https://forums.suse.com/t/i-want-to-copy-a-stack/493>\
**Category:** Rancher 1.x\
**Created:** [September 18, 2015, 12:12pm UTC](https://forums.suse.com/t/i-want-to-copy-a-stack/493 "2015-09-18T12:12:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ebishop](https://avatars.discourse-cdn.com/v4/letter/e/9dc877/32.png) [@ebishop](https://forums.suse.com/u/ebishop)\
**Post date:** [September 18, 2015, 12:12pm UTC](https://forums.suse.com/t/i-want-to-copy-a-stack/493/1 "2015-09-18T12:12:29Z")

</div>

I want to create a service stack, then allow novice users to “copy” the service and rename it, and run it.

So I know the stack will need to be set up with the proper affinity settings. And I can accomplish this by running rancher-compose and the -p option. So really I want to do something like the -p option, but in the UI.

So I took the sidekick example yml from your docs, and created a stack from it with the name “test”. In the UI, I clicked the clone action. On the next page, I only changed the name to test2 thinking that all of the other parts of the “test” stack would be copied or cloned “as-is”. But I got this error:

 ![](https://us1.discourse-cdn.com/flex022/uploads/suse/original/1X/50e60d680e94d3ad3be433328c7a29627a241465.png)

Please, advise.

---

<div class="post-metadata">

**Author:** ![denise](https://avatars.discourse-cdn.com/v4/letter/d/82dd89/32.png) [@denise](https://forums.suse.com/u/denise)\
**Post date:** [September 22, 2015, 6:15pm UTC](https://forums.suse.com/t/i-want-to-copy-a-stack/493/2 "2015-09-22T18:15:50Z")

</div>

I’m a bit confused because I don’t believe there is a way to clone a stack in the UI. There is a way to clone services, but not a stack. From what you have written, it sounds as if you have created a single service using sidekicks and trying to clone it.

I filed this issue to give a better error message on trying to clone sidekicked services:

> <https://github.com/rancher/rancher/issues/2094>
>
> v0.37.1
> Steps to Reproduce:
> Add a sidekicked service into rancher using rancher-compose
> test:
> tty: true
> image: ubuntu:14.04.2
> stdin\_open: true
> volumes\_from:
> - test-data
> labels:
> io.rancher.sidekicks:...

I have added an issue to open up an issue on how to clone stacks in the UI.

> <https://github.com/rancher/rancher/issues/2096>
>
> Currently, we have the ability to clone a single service but it would be nice to be able to clone a...
