In this video we’ll take a look at how to Download Videos from YouTube (and LOTS more) with Docker.
It’s not uncommon to need a clip from the internet for whatever reason you might have. One of the only ways to download those files is to go to sketchy sites full of ads, nefarious links, pop-ups, or who-knows-what.
Disclaimer
Don’t use this to download videos to re-upload them to other places. That is NOT why I’m making this video and blog post. ONLY use this method for legal purposes and while NOT being a dick. Make your own content.
Moving On
This method allows us to NOT have to go to those random sites to download a video from YouTube and other sites.
This blog post will have 2 methods of installing the YouTubeDL container. The first will be using a Docker command in your favorite SSH program. The second will be using the Stacks method.
Install with Docker Command
docker run -d --name youtube-dl -e MY_ID=dbtech -e MY_PW=password -v /srv/dev-disk-by-label-Files/YouTube:/downfolder -p 8080:8080 modenaf360/youtube-dl-nas
You can access your new container by going to http://your-server-ip:8080
Install with Stacks
--- version: "2" services: youtube-dl: image: modenaf360/youtube-dl-nas container_name: youtube-dl environment: - MY_ID=dbtech - MY_PW=password volumes: - /srv/dev-disk-by-label-Files/YouTube:/downfolder ports: - 8080:8080 restart: unless-stopped
Notes
If you already have a container running on port 8080, you can change it by changing the “ports” or “-p” options from 8080:8080 to something like 9999:8080 and then you would be able to access the container by going to http://your-server-ip:9999
Additional Information
Here is a list of other sites you can download videos from using this container: Additional Supported Sites: https://ytdl-org.github.io/youtube-dl/supportedsites.html
Video Credits
LockPickingLawyer: https://www.youtube.com/watch?v=dBSSA5ot0tA
ETA Prime: https://www.youtube.com/watch?v=KjNnieJaMNA
First We Feast: https://www.youtube.com/watch?v=mmlyHMLeo1o
Additional OpenMediaVault Projects
Here are some additional tutorials on things you can setup on your OpenMediaVault server: https://dbtechreviews.com/category/openmediavault/