docs(readme): document bind-mount UID requirement in Docker quickstart#1525
Open
benfrank241 wants to merge 1 commit into
Open
docs(readme): document bind-mount UID requirement in Docker quickstart#1525benfrank241 wants to merge 1 commit into
benfrank241 wants to merge 1 commit into
Conversation
Adds a callout explaining that the container runs as UID 1000 and the bind-mounted host directory must be writable by that UID, otherwise embedded PostgreSQL fails with 'Permission denied (os error 13)'. Documents both the chown 1000:1000 fix and the --user host-UID alternative, and notes named volumes as a no-chown option. Closes #1483
nicoloboschi
requested changes
May 8, 2026
Collaborator
nicoloboschi
left a comment
There was a problem hiding this comment.
I'd add a small note in the Docker installation section in the docs, not here - it's a very advanced details, doesn't fit well into readme
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.
Summary
Permission denied (os error 13).chown -R 1000:1000, or running the container as the host user via--user $(id -u):$(id -g). The--userpath already works thanks to fix(docker): chmod 755 /home/hindsight for --user UID:GID support #1493 (chmod 755 /home/hindsight).-v hindsight-data:/home/hindsight/.pg0) as a no-chown option for users who don't need data on a host path.Closes #1483
Test plan
chown 1000:1000 \$HOME/.hindsight-dockersucceeds and serves http://localhost:8888--user \$(id -u):\$(id -g)and host-UID-owned dir succeeds-v hindsight-data:/home/hindsight/.pg0) succeedsPermission denied (os error 13)) reproduces — confirming the callout addresses a real foot-gun