Skip to content

Run Firefox inside an isolated Docker container (using host pulseaudio).

License

Notifications You must be signed in to change notification settings

tobiasBora/docker-firefox-pulseaudio

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dockerized Firefox

Run Firefox inside an isolated Docker container. This is achieved by sharing a socket for X11 and PulseAudio. This code is based on the terlar code for spotify docker-spotify-pulseaudio. This version does not get/save the configuration of firefox in the user home, everything stay inside the docker container.

Instructions

  1. Clone this repository and change to the directory:
    git clone https://github.com/tobiasBora/docker-firefox-pulseaudio.git && cd docker-firefox-pulseaudio
  1. Build the container:
sudo docker build -t firefox .
  1. Run the provided script:
./scripts/firefox
  1. Use Firefox, and enjoy the sound.

If you get an error about impossible display, and if you run Fedora or any other distribution using SELinux, you may want to try to temporary disable SELinux by using:

sudo setenforce 0

About

Run Firefox inside an isolated Docker container (using host pulseaudio).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%