I have a docker container that uses as an entrypoint /bin/bash. Once in the container, I can start xvfb in this way:
Xvfb :1 -screen 0 1024x768x24 +extension GL