Переглянути джерело

Merge pull request #881 from mhenke/docs/docker-sandbox-note

docs: add Docker/sandbox tip to installation guide
Mike Henke 1 тиждень тому
батько
коміт
bd07f38500
1 змінених файлів з 2 додано та 0 видалено
  1. 2 0
      docs/installation.md

+ 2 - 0
docs/installation.md

@@ -27,6 +27,8 @@ Or use non-interactive mode:
 bunx oh-my-opencode-slim@latest install --no-tui --skills=yes --background-subagents=yes
 ```
 
+> **Running in Docker or a sandbox?** Install inside the container with `--no-tui` (headless environments can't run the interactive TUI), and mount `~/.config/opencode` for persistence. Pass `--companion=no` to skip the desktop companion (it requires a display server). Auto-updates write to `~/.cache/opencode/packages/`, which is separate from config — mount that too if you want updates to survive container restarts.
+
 ### Configuration Options
 
 The installer supports the following options: