Flexget Docker image built on Python's Alpine Linux image.
By default you're required to mount a valid flexget config.yml to /flexget/config.yml, anything else is up to your needs. You need to change your config.yml to work from within the container. Any external paths should be mounted to /flexget/. For example a watchdir, or your movie library. Only mount :ro if you're uncertain because flexget:flexget will take ownership over everything in /flexget/*
All variables are optional.
LOGLEVEL - Set the verbosity of the flexget logger. Levels: critical, error, warning, info, verbose, debug, trace. Defaults to info.
TZ - What time zone to display log message timestamp in.
Example: -v TZ="Europe/Stockholm". Defaults to UTC.
FLEX_UID - This sets the UID for the "flexget" user in the container. This allows your host user to get ownership of any files created in mounted paths inside of the container, as long as you set it to the same UID.
Example: -v FLEX_UID="$(id -u "$USER")"
FLEX_GID - Same as above but for group.
Example: -v FLEX_GID="$(id -g "$USER")"
Here's an example of how to run this image, your config may look different:
$ docker run -d --name flexget \
# Mount flexget config
-v ~/.flexget/config.yml:/flexget/ \
# Mount flexget db, if you keep it on your host machine
-v ~/.flexget/db-config.sqlite:/flexget/ \
# Mount a download path (set in config.yml)
-v ~/.watch:/flexget/watch \
towb/flexget
The above command starts the flexget daemon by default via /docker-entrypoint.sh. You can also start it by passing a command to be run manually, or any other way possible with docker.
Use docker exec to execute a command in a running container:
$ docker exec -it flexget pip install cfscrape
$ docker container restart flexget
If you need to do more than just start flexget with the defaults.
In this example we'll install a plugin before starting flexget with docker run:
$ docker run -d --name flexget \
-v ~/.flexget/config.yml:/flexget/ \
towb/flexget \
sh -c "pip install cfscrape && flexget -c /flexget/config.yml daemon start"
Content type
Image
Digest
Size
67.1 MB
Last updated
over 7 years ago
docker pull towb/flexget