apt-get update
apt-get install xorg openbox
- When running your docker image
docker run --rm -it --net=host --env="DISPLAY" --volume="$HOME/.Xauthority:/root/.Xauthority:rw" --entrypoint bash <YOUR_IMAGE_TAG>
When executing npx cypress open
from the docker container, the display should now be visible!