https://github.com/waltertamboer/experiment-docker-firefox
A test I did to get Firefox running via Docker with a graphical window.
https://github.com/waltertamboer/experiment-docker-firefox
docker dockerfile firefox gui
Last synced: 10 months ago
JSON representation
A test I did to get Firefox running via Docker with a graphical window.
- Host: GitHub
- URL: https://github.com/waltertamboer/experiment-docker-firefox
- Owner: waltertamboer
- License: mit
- Created: 2017-04-07T07:35:29.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-02-01T10:05:11.000Z (over 8 years ago)
- Last Synced: 2025-01-19T19:50:04.633Z (over 1 year ago)
- Topics: docker, dockerfile, firefox, gui
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# experiment-docker-firefox
A test I did to get Firefox running via Docker with a graphical window.
## Build
Assuming `1000` is your current user id and group id.
```bash
docker build \
-t firefox \
--build-arg USER_ID=1000 \
--build-arg GROUP_ID=1000 \
.
```
## Run
```bash
docker run \
-ti \
--rm \
-e DISPLAY=$DISPLAY \
-v /tmp/.X11-unix:/tmp/.X11-unix \
firefox
```
## Credits
Learned this by reading an article written by [Fábio Rehm](https://github.com/fgrehm):
* http://fabiorehm.com/blog/2014/09/11/running-gui-apps-with-docker