Update readme with important features
This commit is contained in:
parent
a56da84b7a
commit
941140581c
2 changed files with 128 additions and 2 deletions
|
|
@ -8,9 +8,12 @@ the host.
|
|||
|
||||
- Arch Linux–based image
|
||||
- Runs as the host user (same username, UID, GID)
|
||||
- **Per-project isolation**: Each project gets its own container (identified by project path hash)
|
||||
- **Shared persistent home**: All containers mount the same home directory from XDG_DATA_HOME, allowing tools to persist across projects
|
||||
- **Sudo access**: OpenCode agent can install project-specific dependencies that persist in the stopped container
|
||||
- **Hard linking support**: Can hard link files like `~/.gitconfig` to share configurations with containers
|
||||
- Mounts only the current project directory (same absolute path inside container)
|
||||
- Persists OpenCode state in XDG_DATA_HOME/opencode-container/container-home directory
|
||||
- No access to SSH keys, passwords, or full `$HOME`
|
||||
- **Security boundary**: No access to SSH keys, passwords, or full `$HOME` (intentionally prevents remote code pushes)
|
||||
- Simple shell function (`opencode`) to launch interactively
|
||||
|
||||
## Install
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue