Public | Automated Build

Last pushed: a year ago
Short Description
Running Firefox inside a Docker container and using SSH with X11 forwarding
Full Description

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

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,

Docker Pull Command
Owner
alitrack
Source Repository

Comments (0)