Sign inSign up

w33ble/youtube-dl

By w33ble

•Updated about 14 hours ago

yt-dlp in a Docker container, built from source daily

Image
2

10K+

w33ble/youtube-dl repository overview

⁠youtube-dl in Docker

Docker image for yt-dlp⁠, a fork of youtube-dl⁠, built from source. Available on Docker Hub⁠.

License Project Status

⁠Docker setup

Install docker: https://docs.docker.com/engine/installation/⁠

Install docker compose: https://docs.docker.com/compose/install/⁠

Docker documentation: https://docs.docker.com/⁠

⁠Usage

docker run -i --rm -v "$(pwd)":/data w33ble/youtube-dl [options] <url to download>

If you have issues with file permissions, you may need to add some flags for the user and group, like so:

docker run -i --rm -u $(id -u):$(id -g) -v "$(pwd)":/data w33ble/youtube-dl [options] <url to download>

This will download the video or audio from the provided URL into the current working path. You can pass in any command line arguments that youtube-dl accepts⁠. As an example, you can specify your desired format like so:

docker run -i --rm -u $(id -u):$(id -g) -v "$(pwd)":/data w33ble/youtube-dl -f "bestvideo[ext=mp4][height<=1080]+bestaudio[ext=m4a]/bestvideo+bestaudio/best" <url to download>
⁠Building locally
docker build -t youtube-dl .

Tag summary

Content type

Image

Digest

sha256:9116f8c71…

Size

110.6 MB

Last updated

about 14 hours ago

docker pull w33ble/youtube-dl