Last active
June 26, 2023 01:53
-
-
Save mreichelt/de62cc78e3d12993dc60140b2a43cee7 to your computer and use it in GitHub Desktop.
Run Firefox in Docker image on Mac with X11 forwarding to XQuartz
This file contains 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 from localhost | |
xhost + 127.0.0.1 | |
# 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