Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Headless #295

Open
nebnes opened this issue Jun 24, 2021 · 1 comment
Open

Headless #295

nebnes opened this issue Jun 24, 2021 · 1 comment

Comments

@nebnes
Copy link

nebnes commented Jun 24, 2021

Is it possible to use this crate in headless mode, for example in a docker container?

@AlexTMjugador
Copy link

AlexTMjugador commented Jan 2, 2022

On GNU/Linux (which, by extension, includes Docker containers, as they are based on Linux), web-view uses GTK under the hood, so it is possible to leverage the usual methods to run a GTK application in headless mode. GTK usually targets a X11 or Wayland desktop environment, which can be provided in headless environments with Xvfb or Xdummy. This random StackExchange question has more concrete instructions for doing that.

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

No branches or pull requests

2 participants