This is a fork of https://github.com/ytdl-org/youtube-dl/ which currently introduces only a Dockerfile to containerize this fantastic piece of software.
Clone the repo:
git clone https://github.com/tsanov/youtube-dl.git
Get into the root of the cloned repo:
cd youtube-dl
Build a Docker image, e.g.
docker build -t youtube-dl .
Run a container, e.g. ephemeral like this:
$ docker run -it --rm -v ~/Downloads/:/home/youtube-dl/Downloads/ youtube-dl
/home/youtube-dl/Downloads/
shares whatever your '~/Downloads
is, so
anything downloaded in there will be actually stored on the hypervisor.
youtube-dl is released into the public domain by the copyright holders, the same applies to this derived work.