Skip to content

A test I did to get Firefox running via Docker with a graphical window.

License

Notifications You must be signed in to change notification settings

waltertamboer/experiment-docker-firefox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

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.

docker build \
    -t firefox \
    --build-arg USER_ID=1000 \
    --build-arg GROUP_ID=1000 \
    .

Run

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:

About

A test I did to get Firefox running via Docker with a graphical window.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published