-
-
Save qh-huang/a97cefbae26a7a151a5bc183e2ed58bc to your computer and use it in GitHub Desktop.
Run Firefox in Docker image on Mac with X11 forwarding to XQuartz
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# allow access | |
xhost + | |
# run firefox with X11 forwarding and keep running until it quits | |
docker run -e DISPLAY=host.docker.internal:0 jess/firefox |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment