https://github.com/gohypernet/firefox-localxserver
This runs Ubuntu 16.04 with chrome inside of Docker, connected to your local X server.
https://github.com/gohypernet/firefox-localxserver
Last synced: 2 months ago
JSON representation
This runs Ubuntu 16.04 with chrome inside of Docker, connected to your local X server.
- Host: GitHub
- URL: https://github.com/gohypernet/firefox-localxserver
- Owner: GoHypernet
- Created: 2019-12-10T01:02:46.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-12-10T18:54:03.000Z (over 5 years ago)
- Last Synced: 2025-01-19T19:57:35.407Z (4 months ago)
- Language: Dockerfile
- Size: 1000 Bytes
- Stars: 0
- Watchers: 8
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# firefox-localxserver
This runs Firefox on the latest Ubuntu inside of Docker, connected to your local X server. This is based on https://dev.to/darksmile92/run-gui-app-in-linux-docker-container-on-windows-host-4kde.# How To Use
This container requires you to have a local X server setup. On windows, you can use VcXsrv, on OSX XQuartz works great, on Linux you probably already have one. The key thing is to set the DISPLAY environment variable in the container to something that will connect to your X server.To start the container, use this command:
docker run -it --rm -e DISPLAY=YOUR.IP.ADDR.HERE:0.0 IMAGEID google.comWhere:
DISPLAY is the display string for your local X server. On windows using VcXsrv, the example string will suffice.
IMAGEID is the ID of the built image, can be grabbed from
docker images
google.com can be any url you want the browser to open with.