VLC Media player inside docker container
204
With the help of this image you can run VLC media player inside docker To run VLC you need to
Volume1:- graphics volume from base os to add it write "-v /tmp/.X11-unix/:/tmp/.X11-unix" while running a docker container.
Volume2:- Video/Audio file folder from base os to add it write "folderpath:/videos" while running a docker container.
To add it write "--device=/dev/snd:/dev/snd"
"--privileged" "--ipc=host" "-e DISPLAY=$DISPLAY"
####### Final command to start a vlc inside docker is #######
$ docker run -it --name container_name -v /tmp/.X11-unix:/tmp/.X11-unix -v /root/video:/video -e DISPLAY=$DISPLAY --privileged --ipc=host --device=/dev/snd:/dev/snd rishabh131/vlc:latest
Content type
Image
Digest
Size
184.6 MB
Last updated
almost 7 years ago
docker pull rishabh131/vlc