/docker-youtube-dl

Dockerized youtube-dl based on Alpine Linux.

Primary LanguageDockerfileApache License 2.0Apache-2.0

Supported tags and respective Dockerfile links

What is youtube-dl?

youtube-dl is a command-line program to download videos from YouTube.com and other video sites.

How to use this image

$ docker run --rm --user $UID:$GID -v $PWD:/downloads wernight/youtube-dl \
      <video_url>
  • --user $UID:$GID is to run as your current user, and not root.
  • -v $PWD:/downloads is to store downloaded files in the current working directory.
  • <video_url> is the ID of a YouTube video or other arguments to pass to youtube-dl.

Note: The entrypoint is set to youtube-dl, so do not put youtube-dl again as argument.

Features of this image

  • Small: Built based on official Alpine Linux.
  • Simple: One command and you should be ready to go. All documented here.
  • Secure: Runs as any user.

User Feedback

Having more issues? Report a bug on GitHub.