[PR #9248] [CLOSED] docs(docker): update README to use unless-stopped restart policy #9142

Closed
opened 2025-11-11 18:15:12 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/9248
Author: @ricardobalk
Created: 2/2/2025
Status: Closed

Base: devHead: fix-docs-docker-command


📝 Commits (1)

  • 53c802f docs(docker): update README to use unless-stopped restart policy

📊 Changes

1 file changed (+8 additions, -8 deletions)

View changed files

📝 README.md (+8 -8)

📄 Description

Pull Request Checklist

  • Target branch: This PR targets the dev branch.
  • Description: Updates the README to reflect the change from --restart always to --restart unless-stopped in the docker run command.
  • Changelog: Entry added below.
  • Documentation: This change is a documentation update.
  • Dependencies: No new dependencies.
  • Testing: Not applicable, as this is a documentation update.
  • Code review: Self-reviewed for correctness.

Changelog Entry

Description

  • Updated the docker run command in the README to use --restart unless-stopped instead of --restart always.

Changed

  • Updated documentation to recommend unless-stopped for better container behavior, preventing unintended restarts after a manual stop.

Additional Information

  • unless-stopped ensures the container does not restart after a manual stop but still restarts on a system reboot.
  • This makes the setup more user- and developer-friendly while maintaining persistence.

No breaking changes or security implications.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/9248 **Author:** [@ricardobalk](https://github.com/ricardobalk) **Created:** 2/2/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `fix-docs-docker-command` --- ### 📝 Commits (1) - [`53c802f`](https://github.com/open-webui/open-webui/commit/53c802fe79dba460e1febbfa05cf483ad963018c) docs(docker): update README to use unless-stopped restart policy ### 📊 Changes **1 file changed** (+8 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+8 -8) </details> ### 📄 Description # Pull Request Checklist - [x] **Target branch:** This PR targets the `dev` branch. - [x] **Description:** Updates the README to reflect the change from `--restart always` to `--restart unless-stopped` in the `docker run` command. - [x] **Changelog:** Entry added below. - [x] **Documentation:** This change is a documentation update. - [x] **Dependencies:** No new dependencies. - [x] **Testing:** Not applicable, as this is a documentation update. - [x] **Code review:** Self-reviewed for correctness. --- # Changelog Entry ### Description - Updated the `docker run` command in the README to use `--restart unless-stopped` instead of `--restart always`. ### Changed - Updated documentation to recommend `unless-stopped` for better container behavior, preventing unintended restarts after a manual stop. ### Additional Information - `unless-stopped` ensures the container does not restart after a _manual stop_ but still restarts on a _system reboot_. - This makes the setup more user- and developer-friendly while maintaining persistence. No breaking changes or security implications. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-11 18:15:12 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#9142