All Projects → qdm12 → youtube-dl-docker

qdm12 / youtube-dl-docker

Licence: MIT license
Download with youtube-dl using command line arguments or a configuration file + Automated updates

Programming Languages

shell
77523 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to youtube-dl-docker

docker-squid
Squid in docker container based on Alpine Linux
Stars: ✭ 44 (+0%)
Mutual labels:  alpine
youtube-dl-api-server-heroku
A ready-for-Heroku youtube-dl REST API server
Stars: ✭ 67 (+52.27%)
Mutual labels:  youtube-dl
youtify
Installs and configures youtube-dl and spotdl for music and videos downloading in android termux
Stars: ✭ 21 (-52.27%)
Mutual labels:  youtube-dl
docker-logstash-alpine
Alpine Linux based Logstash Docker Image
Stars: ✭ 50 (+13.64%)
Mutual labels:  alpine
ymp3cli
Listen music like a hacker!
Stars: ✭ 81 (+84.09%)
Mutual labels:  youtube-dl
docker-php7
A docker image with php 7 and extensions (apc, apcu, intl, mcrypt,...)
Stars: ✭ 16 (-63.64%)
Mutual labels:  alpine
media-roller
A self hosted server to download videos from social media with an iOS shortcut for on-click saving to camera roll
Stars: ✭ 52 (+18.18%)
Mutual labels:  youtube-dl
mysqlclient
the mysqlclient Docker image (based on python:3.8.5-alpine3.12) https://github.com/PyMySQL/mysqlclient-python
Stars: ✭ 20 (-54.55%)
Mutual labels:  alpine
saveddit
Bulk Downloader for Reddit
Stars: ✭ 130 (+195.45%)
Mutual labels:  youtube-dl
static-php-cli
Build single static PHP binary in linux, build with PHP project together, with Swoole and other popular extensions included.
Stars: ✭ 129 (+193.18%)
Mutual labels:  alpine
docker-nfs4
Simple containerized NFS v4 server running on Alpine Linux
Stars: ✭ 19 (-56.82%)
Mutual labels:  alpine
docker-njs
Pure njs(Nginx JavaScript) Docker image, more convenient for development and debugging.
Stars: ✭ 16 (-63.64%)
Mutual labels:  alpine
you2ber
Gnome youtube-dl frontend
Stars: ✭ 24 (-45.45%)
Mutual labels:  youtube-dl
YDL
A Simple GUI wrapper around yt-dlp for Windows using AHK
Stars: ✭ 18 (-59.09%)
Mutual labels:  youtube-dl
php-mssql-alpine
Docker image with Microsoft SQL Server Driver into php image alpine
Stars: ✭ 28 (-36.36%)
Mutual labels:  alpine
docker-alpine-python2
The smallest Docker image with Python 2.7 (~50MB)
Stars: ✭ 36 (-18.18%)
Mutual labels:  alpine
mtproxy
Alpine-based Docker Image for Telegram MTProto Proxy
Stars: ✭ 89 (+102.27%)
Mutual labels:  alpine
docker-alpine-sshd
A lightweight OpenSSH Docker Image built atop Alpine Linux.
Stars: ✭ 108 (+145.45%)
Mutual labels:  alpine
cicd-images
Images used internally for running continuous integration/delivery tasks
Stars: ✭ 19 (-56.82%)
Mutual labels:  alpine
cirilla
Multipurpose telegram bot
Stars: ✭ 33 (-25%)
Mutual labels:  youtube-dl

Docker Youtube-DL Alpine

Download with youtube-dl using command line arguments or configuration files

Docker Youtube-DL

Build status Docker Pulls Docker Stars Docker Automated

GitHub last commit GitHub commit activity GitHub issues

Donate PayPal

Features

  • Works with command line arguments to youtube-dl
  • Compatible with AMD64, 386, ARM v6/v7/v8 CPU architectures
  • Small Docker image based on
  • The container updates youtube-dl at launch if -e AUTOUPDATE=yes
  • Docker healthcheck downloading https://duckduckgo.com with wget every 10 minutes
  • You can receive a notification on your Android device through Gotify when the youtube-dl has finished

Setup

  1. Run the container with

    docker run -d -v $(pwd)/yourdir:/downloads qmcgaw/youtube-dl-alpine \
    https://www.youtube.com/watch?v=HagVnWAeGcM \
    -o "/downloads/%(title)s.%(ext)s"

    or use docker-compose.yml with

    docker-compose up -d
  2. See the youtube-dl command line options

  3. By default the container runs as user ID 1000 in order to not run as root. If you encounter permission issues with your bind mounted yourdir directory, either:

    • Change the ownership and permission of your directory to match user id 1000:

      chown 1000 yourdir && chmod 700 yourdir
    • Run the container with the user ID owning yourdir, for example with the Docker flag --user=1030.

Environment variables

Environment variable Default Description
AUTOUPDATE no Updates youtube-dl to the latest version at launch
GOTIFYURL Gotify server URL address (i.e. http://192.168.1.5:8000 or https://a.com/gotify)
GOTIFYTOKEN Gotify server Token

Downloads directory permission issues

You can either:

  • Change the ownership and permissions of ./downloads on your host with:

    chown 1000 -R ./downloads
    chmod 700 ./downloads
    chmod -R 600 ./downloads/*
  • Launch the container as root user using --user=root

Authenticate with Netrc file

To authenticate you can bind mount a .netrc file.

You should, on your host, set the right ownership and permissions as follow:

chown 1000:1000 .netrc
chmod 600 .netrc

And then bind mount it with -v "$(pwd)/.netrc:/.netrc:ro" and youtube-dl will pick it up.

TODOs

  • Healthcheck to check ydl logs
  • Colors in terminal
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].