Skip to content

docs: clarify sandboxing situation on Linux - #103

Merged
tibo-openai merged 1 commit into
openai:mainfrom
cg505:linux-sandboxing
Apr 17, 2025
Merged

tibo-openai merged 1 commit into
openai:mainfrom
cg505:linux-sandboxing

Conversation

@cg505

@cg505 cg505 commented Apr 16, 2025

Copy link
Copy Markdown
Contributor

There doesn't appear to actually be any sandboxing on Linux. Correct the README.

Signed-off-by: Christopher Cooper <[email protected]>
const isInContainer = async (): Promise<boolean> => {
const isInLinux = async (): Promise<boolean> => {
try {
await access("/proc/1/cgroup");

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file is typically accessible in linux systems, even outside a container.

@tibo-openai

Copy link
Copy Markdown
Collaborator

There are some ci failures, could you resolve these and then the changes look good and will merge, ty!

@cg505

cg505 commented Apr 16, 2025

Copy link
Copy Markdown
Contributor Author

Unfortunately I don't think the CI failure is related. The code change is functionally a no-op, just a rename.

@tibo-openai tibo-openai changed the title clarify sandboxing situation on Linux docs: clarify sandboxing situation on Linux Apr 17, 2025
@tibo-openai
tibo-openai merged commit f9c1552 into openai:main Apr 17, 2025
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 17, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants