# System shutdown

**URL:** <https://forums.suse.com/t/system-shutdown/1152>\
**Category:** RancherOS\
**Created:** [December 2, 2015, 9:45pm UTC](https://forums.suse.com/t/system-shutdown/1152 "2015-12-02T21:45:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tve](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/tve/32/601_2.png) [@tve](https://forums.suse.com/u/tve)\
**Post date:** [December 2, 2015, 9:45pm UTC](https://forums.suse.com/t/system-shutdown/1152/1 "2015-12-02T21:45:18Z")

</div>

How does one initiate system shutdown or reboot from within a system-container?

---

<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:** [December 3, 2015, 9:32pm UTC](https://forums.suse.com/t/system-shutdown/1152/2 "2015-12-03T21:32:34Z")

</div>

If your container is in `system-docker`, you could do `system-docker restart <container_id>` or `system-docker stop <container_id>`.

If your container is in `user docker`, you could do `docker restart <container_id>` or `docker stop <container_id>`.

Not sure if that answers what you’re looking for…

---

<div class="post-metadata">

**Author:** ![tve](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/tve/32/601_2.png) [@tve](https://forums.suse.com/u/tve)\
**Post date:** [December 3, 2015, 10:19pm UTC](https://forums.suse.com/t/system-shutdown/1152/3 "2015-12-03T22:19:19Z")

</div>

Not really, I am looking for how to restart the server, not a container. Now that I’m typing this is occurs to me to try `reboot` in a container and it seems to indeed reboot the box…
