Skip to content

joemat/docker-ffdiaporama

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker-ffdiaporama

A docker container running ffdiaporama (http://ffdiaporama.tuxfamily.org/)

Since it's no possible to run the current version of ffdiaporama on my Linux Mint 18.1 machine I built this Docker image to run it.

  • ffdiaporama is run by a user with UID 1000
  • the user is added to the audio group to have access to the audio device ** this works fine on my Linux Mint 18.1 host running the container but may not work on different distributions when the id of the audio group is different
  • the directory $HOME/ffdiaporama is passed as the user's home to the container

Build and start the container from the scratch

git clone https://github.com/joemat/docker-ffdiaporama
cd docker-ffdiaporama
   
## adjust build args for your needs
sudo docker build --build-arg USERNAME=ffdiaporama --build-arg AUDIOGROUP=29 --build-arg USERID=1000 --tag=ffdiaporama .

## Pass name of image to start to local version
sudo bash ./start_ffdiaporama.sh ffdiaporama

Downlaoding and starting the container from docker hub

Fast and simple

## Downloads and starts container from dockerhub if no parameter is passed
sudo bash ./start_ffdiaporama.sh

Manually

mkdir -p "$HOME/ffdiaporama"
xhost +localhost
sudo docker run --rm -it \
                --net host \
                -v /tmp/.X11-unix:/tmp/.X11-unix \
                -e DISPLAY \
                --device /dev/snd \
                --name ffdiaporama \
                -v $HOME/ffdiaporama:/home/ffdiaporama \
                joemat/ffdiaporama

About

A docker container running ffdiaporama (http://ffdiaporama.tuxfamily.org/)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages