# Restart Container unless stops

**URL:** https://forums.suse.com/t/restart-container-unless-stops/2741
**Category:** General
**Created:** [May 11, 2016, 1:31am UTC](https://forums.suse.com/t/restart-container-unless-stops/2741 "2016-05-11T01:31:20Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Evanilson\_Abril](https://avatars.discourse-cdn.com/v4/letter/e/f9ae1b/32.png) [@Evanilson\_Abril](https://forums.suse.com/u/Evanilson_Abril)
#### Post date: [May 11, 2016, 1:31am UTC](https://forums.suse.com/t/restart-container-unless-stops/2741/1 "2016-05-11T01:31:20Z")

</div>

_Hello All,_  
\_ \_  
\_ I am trying to run my containers on a rancher stack, and when I am setting it up, it just give two options witch are restart always and Never (start once). My question is how can I keep my container running ?\_

---

<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: [May 11, 2016, 3:09am UTC](https://forums.suse.com/t/restart-container-unless-stops/2741/2 "2016-05-11T03:09:08Z")

</div>

The restart always means that if your container has an issue with starting and staying up, Rancher will continue indefinitely trying to start a container.

Sometimes, there are containers that are set to start up once and then stay stopped. For those containers, you would select “Start Once” so that Rancher doesn’t continually try and start a new container for the service.

---

<div class="post-metadata">

### Author: ![Evanilson\_Abril](https://avatars.discourse-cdn.com/v4/letter/e/f9ae1b/32.png) [@Evanilson\_Abril](https://forums.suse.com/u/Evanilson_Abril)
#### Post date: [May 11, 2016, 3:19am UTC](https://forums.suse.com/t/restart-container-unless-stops/2741/3 "2016-05-11T03:19:06Z")

</div>

thank you! I got it, it was a bug on the app that I am running on the container
