Simple Docker Run example:
docker run -v /your/path/to/download/directory/:/youtube-directory erstblack/youtube_archive
There are other environment variables if you want to customize various things inside the docker container:
| Docker Environment Var. | Description |
|---|---|
QUALITY: <4320p|2160p|1440p|1080p|720p>Default: 1080p | Sets the maximum quality of the downloaded video. 8k, 4k, and 2k may also be used. |
RATE_LIMIT: <Rate Limit>Default: 5M | Sets the rate limit used by youtube-dl. |
ARCHIVE_FILE: <Filename>Default: archive.log | Sets the archive log created by youtube-dl. |
SAVE_ARCHIVE: <0|1>Default: 0 | Toggles saving of the archive file. 0 for no, 1 for yes. |
CHANNELS_FILE: <Filename>Default: channels.txt | Sets the channels file read by youtube-dl. |
OUTPUT_FORMAT: <Format>Default: %(uploader)s/%(title)s.%(ext)s | Sets the output format used youtube-dl. |
VIDEO_UID: <UID>Default: 1000 | Sets the user ownership for the downloaded videos. |
VIDEO_GID: <GID>Default: 1000 | Sets the group ownership for the downloaded videos. |
RETRIES: <Retries>Default: 10 | Sets the number of retries for youtube-dl. |
BUFFER_SIZE: <Buffer Size>Default: 1024 | Sets the buffer size for youtube-dl. |
Content type
Image
Digest
sha256:5ebd42b15…
Size
79.6 MB
Last updated
2 months ago
docker pull erstblack/youtube_archive