list.txt with YouTube URLs
list.txt
while read line; do docker run --rm -v /home/pi/dudelbox/mopidy/data/mopidy/music/yt-dl/:/mnt/dl --user 1000:100 yt-dl --extract-audio --audio-format mp3 "$line"; done <list.txt