Sign inSign up

123dockerlab/vlc_container

By 123dockerlab

Updated almost 7 years ago

Run vlc player from x11docker/fluxbox base image

Image
0

828

123dockerlab/vlc_container repository overview

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

  1. Debian based Linux distribution
  2. The smaller size (approx 80MB)

Dependencies:

  1. Docker
  2. X11docker
    #Installation steps and other details please follow the link -> (https://github.com/mviereck/x11docker/blob/master/README.md)
  3. XPRA
    #It allows X programs to run on a remote host (docker container in this case) and direct its displays to the host machine
  4. pulseaudio

Steps to download and run this container:

  1. :~$ docker login
  2. :~$ Username: <Enter docker username, if you do not have one signup with dockerhub>
  3. :~$ Password:
  4. :~$ docker pull 123dockerlab/vlc_container
    #Now you have the vlc_container image in your local repository

Build instructions:

  1. :~$ docker build -t vlc_app .

Run instructions

  1. :~$ x11docker --share="/home/kiran/Videos" --pulseaudio --xpra vlc_app
    #To play videos from the folder "/home/kiran/Videos" on host machine
  2. :~$ x11docker --pulseaudio --xpra --hostnet vlc_app
    #To capture and play multicast stream

Tag summary

Content type

Image

Digest

Size

131.2 MB

Last updated

almost 7 years ago

docker pull 123dockerlab/vlc_container