Layer info at microbadge seems wrong. I saw only 5 layers when I built it. Issue with newly built images there?
Dockerfile to build an image that runs youtube-dl and does post-processing as described in uniquerockrz's and Jacob Tomlinson's answers at https://askubuntu.com/questions/178481/how-to-download-an-mp3-track-from-a-youtube-video
Installed using pip as described at http://rg3.github.io/youtube-dl/download.html because as mentioned here. apt-get insalled versions give security/permissions errors.
Includes:
See the Dockerfile for additional info.
docker run -it fomightez/youtubedl
Then issue your commands such as:
youtube-dl --extract-audio --audio-format mp3 --prefer-ffmpeg <video URL>
Or, if you want to make relaying the created files out of the container to the hose machine easier, create a directory /dls (ONLY IF YOU DON'T ALREADY HAVE ONE) and use that to mount the volume at the time of starting the container.
docker run -v /dls:/dls -it fomightez/youtubedl
I copy the file(s) to the mounted volume /dls to bring out of container to the host machine.
Content type
Image
Digest
Size
275.2 MB
Last updated
about 9 years ago
docker pull fomightez/youtubedl