Skip to content

sashkab/docker-youtube-dl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

youtube-dl in a docker

Build youtube-dl image

Pull

docker pull ghcr.io/sashkab/docker-youtube-dl/docker-youtube-dl:latest

Create alias

Add alias into your .bash_profile or .zshrc files:

alias yt='docker run --rm -u $(id -u):$(id -g) -v $PWD:/downloads -t ghcr.io/sashkab/docker-youtube-dl/docker-youtube-dl:latest'

Automatically update via crontab

Add a schedule to update via crontab:

0 1 * * 0 docker pull ghcr.io/sashkab/docker-youtube-dl/docker-youtube-dl:latest