Skip to content

fix: add container-safe flags to Edge entrypoint#49

Open
nbucking wants to merge 1 commit intolinuxserver:masterfrom
nbucking:upstream/fix-edge-container-crash
Open

fix: add container-safe flags to Edge entrypoint#49
nbucking wants to merge 1 commit intolinuxserver:masterfrom
nbucking:upstream/fix-edge-container-crash

Conversation

@nbucking
Copy link
Copy Markdown
Contributor

@nbucking nbucking commented May 8, 2026

Add --disable-dev-shm-usage and --disable-gpu to prevent crashes in webtop/container environments where /dev/shm is limited and no GPU is available.

Add --disable-dev-shm-usage and --disable-gpu to prevent crashes
in webtop/container environments where /dev/shm is limited and
no GPU is available.

Co-Authored-By: Oz <oz-agent@warp.dev>
@thelamer
Copy link
Copy Markdown
Member

thelamer commented May 8, 2026

I recommend passing --shm-size=1gb in all our containers (this is in the readme) and many users including me use a GPU with these apps. The only thing that does not work is nvidia accel as the libs will not be present but AMD/Intel work great. Also disabling shm while it makes it "work" is another untested codepath in chromium (non default) and has performance implications as they exepct shm to be there. You definitely will not save any memory doing it the ram will still need to be used it will just likely be in a more manual assign new pointer for each action vs using a known ring buffer in shm.

So these would not be great defaults.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants