xvfb-run

Run a command in a virtual X server environment. More information: <https://www.x.org/wiki/>.

Debian Debian
RUN apt-get update && \ apt-get install -y xvfb
Ubuntu
RUN apt-get update && \ apt-get install -y xvfb
Alpine
RUN apk add xvfb
Arch Arch Linux
RUN pacman -S --noconfirm xorg-server-xvfb
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y xvfb
CentOS
RUN yum install -y xorg-x11-server-Xvfb
Fedora
RUN dnf install -y xorg-x11-server-Xvfb
Raspbian
RUN apt-get update && \ apt-get install -y xvfb
click the source code to copy install xvfb-run on any operating system with command-not-found.com