# How I could restart the web server in docker

**URL:** <https://meta.discourse.org/t/how-i-could-restart-the-web-server-in-docker/27890>\
**Category:** Self-hosting\
**Created:** [2015 年 4 月 24 日午前 6:12 UTC](https://meta.discourse.org/t/how-i-could-restart-the-web-server-in-docker/27890 "2015-04-24T06:12:04Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![berniegao](https://avatars.discourse-cdn.com/v4/letter/b/8c91f0/32.png) [@berniegao](https://meta.discourse.org/u/berniegao)\
**Post date:** [2015 年 4 月 25 日午前 10:31 UTC](https://meta.discourse.org/t/how-i-could-restart-the-web-server-in-docker/27890/3 "2015-04-25T10:31:54Z")

</div>

doing so will restart the entire docker container. what I trying to do is to restart the web server without touch the container, such as using “rails server” and then stop it without utilizing docker.

---

_[View the full topic](https://meta.discourse.org/t/how-i-could-restart-the-web-server-in-docker/27890)._
