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:
parent
61017da6ba
commit
2d3d5caacb
2 changed files with 15 additions and 9 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue