web-view
web-view copied to clipboard
Headless
Is it possible to use this crate in headless mode, for example in a docker container?
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.