The idea behind "vlc_container" is that I wanted to build a media player inside a docker container.
I chose it to be VLC because of its easy nature to stream/capture multicast video/audio streams.
The vlc_container has been built on top of x11docker/fluxbox base image, because of
Debian based Linux distribution
The smaller size (approx 80MB)
Dependencies:
Docker
X11docker
#Installation steps and other details please follow the link -> (https://github.com/mviereck/x11docker/blob/master/README.md )
XPRA
#It allows X programs to run on a remote host (docker container in this case) and direct its displays to the host machine
pulseaudio
Steps to download and run this container:
:~$ docker login
:~$ Username: <Enter docker username, if you do not have one signup with dockerhub>
:~$ Password:
:~$ docker pull 123dockerlab/vlc_container
#Now you have the vlc_container image in your local repository
Build instructions:
:~$ docker build -t vlc_app .
Run instructions
:~$ x11docker --share="/home/kiran/Videos" --pulseaudio --xpra vlc_app
#To play videos from the folder "/home/kiran/Videos" on host machine
:~$ x11docker --pulseaudio --xpra --hostnet vlc_app
#To capture and play multicast stream