Sign inSign up

bengreenier/docker-xvfb

By bengreenier

Updated about 7 years ago

Dockerfiles for running headless x11 apps 📦🤕✨

Image
0

1.4K

bengreenier/docker-xvfb repository overview

docker-xvfb

Build Status

Dockerfiles for running headless x11 apps 📦🤕✨

How to use this image

Create a Dockerfile in your project
FROM bengreenier/docker-xvfb:stable
# install glxgears
RUN apt-get update -y \
  && apt-get install --no-install-recommends -y mesa-utils \
  && rm -rf /var/lib/apt/lists/*
CMD glxgears

You can then build and run the image:

docker build . -t my-x11-app
docker run -it --rm --name my-running-app my-x11-app

And glxgears will run in the virtual x11 space.

Image Variants

Are based on their debian variants. We support:

  • stable
  • stable-slim
  • stretch
  • strech-slim
  • buster
  • buster-slim

Image Arguments

These images support build-time variables for customization.

  • RESOLUTION - Configures the X screen buffer. Default: 1920x1080x24
  • XARGS - Configures X with additional arguments. Default: "" (no value)

License

MIT

Tag summary

Content type

Image

Digest

Size

58.7 MB

Last updated

about 7 years ago

docker pull bengreenier/docker-xvfb:buster-slim