YouTubeDL

youtube-dl is an open-source download manager for video and audio from YouTube and over 1000 other video hosting websites. It is released under the Unlicense software license. As of September 2021, youtube-dl is one of the most starred projects on GitHub, with over 100k stars.

Video available on dailymotion: https://www.dailymotion.com/video/x85cf2f

Select your preferred install method below.

Docker CLI Install

docker run -d --name youtube-dl -e MY_ID=dbtech -e MY_PW=password  -v /srv/dev-disk-by-label-Files/YouTube:/downfolder -p 9999:8080 modenaf360/youtube-dl-nas

Remember that you will want to change the volume (-v) path and the server-side port (9999) to fit your setup needs.

Docker-Compose Install

---
version: "2"
services:
  airsonic:
    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:
      - 9999:8080
    restart: unless-stopped

Remember that you will want to change the volume (-v) path and the server-side port (9999) to fit your setup needs.