Commit 7a59b52
docs: clarify persisted env vars reach the agent process (#25816)
## Summary
- Clarifies that variables set in `/etc/sandbox-persistent.sh` are
visible to the agent process itself (not just an interactive shell),
including API keys.
- Notes that a variable only takes effect for sessions/agents started
after it's added — a running agent needs a restart to pick it up.
## Why
Prompted by confusion in
docker/sbx-releases#252, where users assumed
variables set this way wouldn't reach `sbx run` agent sessions, or
weren't sure how a new value propagates to an already-running agent.
## Test plan
- [ ] Docs site build/preview renders the FAQ section correctly
---------
Signed-off-by: Manuel de la Peña <manuel.delapena@docker.com>
Co-authored-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>1 parent c8c1ada commit 7a59b52
1 file changed
Lines changed: 10 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
121 | 125 | | |
122 | 126 | | |
123 | 127 | | |
| |||
0 commit comments