Public Repository

Last pushed: a year ago
Short Description
This docker container streams a video on port 80
Full Description

To show the use of data containers along with a video streaming container, this docker container will stream the video for you on port 80. As it was meant for my own testing some configurations are not optimized. Here's how to use it.

The container when run expects a video "bunny.avi" to be mounted in /data inside the container. You can mount any video on the host to /data and then map port 80 to any port on the host. Assuming you have a video "bunny.avi" in your HOME folder, you can start the streamer using:

docker run -d - v $HOME:/data --name streamer -p 8000:80 shazmailz/vlcstreamer

Visit localhost:8000 in a videoplayer e.g. vlc, and you should see your video.

Alternatively, you can create a data container and then attach it to the streaming container (assuming data container is named dc):

docker run -d --volumes-from dc -p 8000:80 --name streamer shazmailz/vlcstreamer

Docker Pull Command