Sign inSign up

alitrack/firefox

By alitrack

Updated almost 10 years ago

Running Firefox inside a Docker container and using SSH with X11 forwarding

Image
1

472

alitrack/firefox repository overview

Firefox Docker

Chinese tutorial

Tutorial(How to run a Linux GUI application(Firefox) on OSX using Docker)

Install brew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Install and run scat
brew install socat
socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:\"$DISPLAY\"
Install and configure XQuartz

In X11 preferences in XQuartz, in the security tab, check both boxes

Grab a image
docker pull alitrack/firefox
Run it
docker run --rm -e DISPLAY=$DISPLAY  \
-i -t -v ${HOME}:/home/${USER} \
-v /tmp/.X11-unix:/tmp/.X11-unix \
alitrack/firefox firefox
references,

Tag summary

Content type

Image

Digest

Size

214.3 MB

Last updated

almost 10 years ago

docker pull alitrack/firefox