From e9c2afcc022e6cc5a6601488f18162b817e078df Mon Sep 17 00:00:00 2001 From: DhanushSantosh Date: Wed, 4 Feb 2026 09:50:48 +0530 Subject: [PATCH] docs: warn about Docker UID/GID mismatch --- README.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/README.md b/README.md index 75705673..a34269b2 100644 --- a/README.md +++ b/README.md @@ -288,6 +288,31 @@ services: **Note:** The Claude CLI config must be writable (do not use `:ro` flag) as the CLI writes debug files. +> **⚠️ Important: Linux/WSL Users** +> +> The container runs as UID 1001 by default. If your host user has a different UID (common on Linux/WSL where the first user is UID 1000), you must create a `.env` file to match your host user: +> +> ```bash +> # Check your UID/GID +> id -u # outputs your UID (e.g., 1000) +> id -g # outputs your GID (e.g., 1000) +> ``` +> +> Create a `.env` file in the automaker directory: +> +> ``` +> UID=1000 +> GID=1000 +> ``` +> +> Then rebuild the images: +> +> ```bash +> docker compose build +> ``` +> +> Without this, files written by the container will be inaccessible to your host user. + ##### GitHub CLI Authentication (For Git Push/PR Operations) To enable git push and GitHub CLI operations inside the container: