readme: Document the in-container marker & link release notes
Agents and skills gate on AGENT_CONTAINER=1 to know they are inside the container rather than on the host, but nothing told a reader that the variable exists, or that containers predating it get recreated. The release notes only help someone who finds them, so the upgrade section now points at CHANGELOG.md.
This commit is contained in:
parent
87ddc6edfb
commit
fa32cc4218
1 changed files with 3 additions and 0 deletions
|
|
@ -132,6 +132,7 @@ For persistent environment variables, add them to `container-home/.bashrc` (or `
|
||||||
|
|
||||||
- `XDG_DATA_HOME`: Override default data directory (default: `~/.local/share`)
|
- `XDG_DATA_HOME`: Override default data directory (default: `~/.local/share`)
|
||||||
- `AGENT_CONTAINER_RUNTIME`: Container runtime to use (default: `podman`, set to `docker` for the old behaviour)
|
- `AGENT_CONTAINER_RUNTIME`: Container runtime to use (default: `podman`, set to `docker` for the old behaviour)
|
||||||
|
- `AGENT_CONTAINER=1`: Set inside every container, so tools and skills running there can tell they are not on the host. The environment is fixed at container creation time, so containers that predate the marker are recreated on the next run.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
|
@ -171,6 +172,8 @@ agent-container update
|
||||||
|
|
||||||
This rebuilds the image with a freshly pulled base but keeps all existing containers and everything installed in them. The persistent home directory is not affected.
|
This rebuilds the image with a freshly pulled base but keeps all existing containers and everything installed in them. The persistent home directory is not affected.
|
||||||
|
|
||||||
|
Release notes for each tagged version, including what to do when upgrading, are in [CHANGELOG.md](CHANGELOG.md).
|
||||||
|
|
||||||
### Purge
|
### Purge
|
||||||
|
|
||||||
To remove all containers, the image, and the persistent home directory:
|
To remove all containers, the image, and the persistent home directory:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue