container: Improve usability of web mode, error handling, and CLI commands

Use --network host so that web interfaces (e.g. opencode web) are
accessible from the host. Suppress Python tracebacks when the tool
exits with a non-zero code. Ignore SIGTSTP to prevent Ctrl+Z from
leaving orphaned containers. Rename force-cleanup to purge.
This commit is contained in:
Jeena 2026-03-28 22:07:58 +00:00
parent 61017da6ba
commit 2d3d5caacb
2 changed files with 15 additions and 9 deletions

View file

@ -63,12 +63,12 @@ agent-container update
This removes all existing containers and rebuilds the image from scratch. Containers are recreated automatically on the next run. The persistent home directory is not affected.
### Force Cleanup
### Purge
To remove all containers, the image, and the persistent home directory:
```sh
agent-container force-cleanup
agent-container purge
```
## Sharing host config files via hard links