You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ContainerCodeExecutor docs say non-root, but the container runs as the image's default user (root for python:3.11-slim) #7712
The code executor guide says:
"ContainerCodeExecutor starts a Docker container as a non-root user, with the network off and Linux capabilities dropped."
#6074 added the network and capability hardening; the user part seems to be the piece that didn't land. Maybe it's just the docs, but since this is described as the step that "puts a real boundary" between model code and the host, passing e.g. user="65534:65534" (or making it configurable) seems like the better fix than editing the sentence.
Found while testing a docs-vs-code checker I'm building (Elliot), then verified by hand.
May I send a small guide correction so it no longer promises a non-root user? The container and exec calls leave user unset, so the guide should describe the image's configured user. I would leave runtime user selection separate, since forcing a UID could affect custom images.
Activity
Samecho commentedon Oct 24, 2026
May I send a small guide correction so it no longer promises a non-root user? The container and exec calls leave
userunset, so the guide should describe the image's configured user. I would leave runtime user selection separate, since forcing a UID could affect custom images.EmanueleCell4 commentedon Oct 24, 2026
docs: ContainerCodeExecutor runs as the image's user, not non-root
docs: ContainerCodeExecutor runs as the image's user, not non-root