From 03feb76fe0b754d52841bfabed8774ac5d0a106c Mon Sep 17 00:00:00 2001 From: WadydX <65117428+WadydX@users.noreply.github.com> Date: Tue, 16 Jun 2026 13:53:43 +0100 Subject: [PATCH] docs(readme): align Docker auth example with GOG_HOME pattern The README Docker example mounted only ~/.config/gogcli, but file-keyring tokens are stored under the data directory. Users following the example would lose auth state after the container exited. Update the example to use GOG_HOME=/persist/gogcli with a persistent state volume, matching docs/install.md and docs/paths.md. Closes #828 --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 19f8d53f7..4b90a4707 100644 --- a/README.md +++ b/README.md @@ -47,16 +47,17 @@ gog --version docker run --rm ghcr.io/openclaw/gogcli:latest version ``` -Authenticated container runs should use a persistent config volume and the +Authenticated container runs should use a persistent `GOG_HOME` directory and the encrypted file keyring: ```bash -docker volume create gogcli-config +docker volume create gogcli-state docker run --rm -it \ + -e GOG_HOME=/persist/gogcli \ -e GOG_KEYRING_BACKEND=file \ -e GOG_KEYRING_PASSWORD \ - -v gogcli-config:/home/gog/.config/gogcli \ + -v gogcli-state:/persist/gogcli \ ghcr.io/openclaw/gogcli:latest \ auth add you@gmail.com --services gmail,calendar,drive ```