Fix misleading --rm wording: data loss happens on any container recreation
This commit is contained in:
+4
-4
@@ -237,10 +237,10 @@ Understanding what survives container restarts and what doesn't:
|
|||||||
|
|
||||||
- **Project files** (`/workspace`) are always safe — they're your host filesystem.
|
- **Project files** (`/workspace`) are always safe — they're your host filesystem.
|
||||||
- **opencode config** is auto-generated from `OPENCODE_PROVIDER` env var on each start if no existing config is found. To persist config changes, mount the config directory from the host (see Custom opencode Config below).
|
- **opencode config** is auto-generated from `OPENCODE_PROVIDER` env var on each start if no existing config is found. To persist config changes, mount the config directory from the host (see Custom opencode Config below).
|
||||||
- **opencode data** (session history, memory) is lost with `--rm` unless you add a named volume.
|
- **opencode data** (session history, memory) is lost on container recreation unless you add a named volume.
|
||||||
- **TUI settings** (theme, toggles) are lost with `--rm` unless you add the `devbox-state` named volume.
|
- **TUI settings** (theme, toggles) are lost on container recreation unless you add the `devbox-state` named volume.
|
||||||
- **Python installs** via `uv python install` are lost unless you add the `devbox-uv` named volume.
|
- **Python installs** via `uv python install` are lost on container recreation unless you add the `devbox-uv` named volume.
|
||||||
- **Rust toolchains** via `rustup-init` are lost unless you add the `devbox-rustup` and `devbox-cargo` named volumes.
|
- **Rust toolchains** via `rustup-init` are lost on container recreation unless you add the `devbox-rustup` and `devbox-cargo` named volumes.
|
||||||
- **AWS SSO tokens** persist across restarts when `~/.aws` is mounted (recommended for Bedrock users).
|
- **AWS SSO tokens** persist across restarts when `~/.aws` is mounted (recommended for Bedrock users).
|
||||||
|
|
||||||
## Custom opencode Config
|
## Custom opencode Config
|
||||||
|
|||||||
Reference in New Issue
Block a user