docs: fix Docker log directory and non-root UID in container examples - #134
Closed
loverustfs wants to merge 2 commits into
Closed
docs: fix Docker log directory and non-root UID in container examples#134loverustfs wants to merge 2 commits into
loverustfs wants to merge 2 commits into
Conversation
The official image runs as UID 10001 and defaults RUSTFS_OBS_LOG_DIRECTORY to /logs. Container examples that set /var/log/rustfs/ fail with Permission denied because the non-root user cannot create that path. Point Docker, Podman, Compose, and upgrade examples at /logs, document bind-mount ownership, and 301 /installation to /en/installation. Co-authored-by: RustFS <hello@rustfs.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
rustfs-docs | aa59daa | Commit Preview URL Branch Preview URL |
Aug 29 2026, 08:14 PM |
docs-check requires technical fences to match English. Copy the corrected Docker/Podman /logs commands into de, fr, ja, and zh without changing translated prose. Co-authored-by: RustFS <hello@rustfs.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes the Docker install examples reported in rustfs/rustfs#6844.
Problem
The official
rustfs/rustfsimage runs as non-rootrustfs(10001:10001) and setsRUSTFS_OBS_LOG_DIRECTORY=/logsin the Dockerfile. The published container docs copied the Linux package path/var/log/rustfs/. The entrypoint then triesmkdir -p /var/log/rustfs/and fails withPermission denied.Bind-mounted host directories also need ownership
10001:10001. Named volumes at/dataand/logsinherit that ownership from the image.Changes
English guides (source of truth):
/logs, setRUSTFS_OBS_LOG_DIRECTORY=/logs, document bind-mountchown 10001:10001./logs; Linux packages still use/var/log/rustfs/./installationand/installation/to/en/installation.Locale files (
de/fr/ja/zh): command blocks only, sodocs:checkfence parity passes. No translated prose was rewritten.Linux systemd examples that create
/var/log/rustfs/on the host are unchanged.Verification
USER rustfs,ENV RUSTFS_OBS_LOG_DIRECTORY=/logs) and the README Docker Quick Start.npm run docs:check— passnpm run build— pass (2415 files generated)