Skip to content

Conversation

Xiol
Copy link
Contributor

@Xiol Xiol commented Apr 12, 2023

Chromium won't start in the existing Docker container because it's trying to start as root, and it requires the --no-sandbox flag setting.

could not launch browser: [launcher] Failed to get the debug url: find: '/root/.config/chromium/Crash Reports/pending/': No such file or directory
[0412/083701.089501:ERROR:zygote_host_impl_linux.cc(100)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. 

This sets the flag that was added in #195 by default.

Alternatively this could be added to the Docker command listed in the README (-e VHS_NO_SANDBOX="true") or a non-root user configured in the container, but this seems to be the simplest route.

@maaslalani
Copy link
Contributor

I think this makes sense to have default in the Dockerfile, thanks so much! Really appreciated ❤️

@maaslalani maaslalani merged commit b66d246 into charmbracelet:main May 1, 2023
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