mcarleio / my-jdownloader2-headless

An image for JDownloader 2 in headless mode for use with my.jdownloader.org, combined with an optional to use OpenVPN client.
3 stars 1 forks source link

my-jdownloader2-headless

An image for JDownloader 2 in headless mode for use with my.jdownloader.org, combined with an optional to use OpenVPN client.

Running

Replace the example mail, password and volume paths with your corresponding values.

docker run \
    -v /your/path/to/config/files:/opt/jd/cfg \
    -v /your/path/to/download/folder:/home/jdownloader/Downloads \
    -e MY_JD_EMAIL='your.mail@example.org' \
    -e MY_JD_PASSWORD='your_password' \
    mcarleio/my-jdownloader2-headless

If you want to use VPN, you have to add at least one OpenVPN config file into /your/path/to/config/files/ovpn and run the container in privileged mode or at least with NET_ADMIN capability:

# Run in privileged mode
--privileged 

# ... or run with NET_ADMIN capability
--cap-add NET_ADMIN 

When there are multiple OpenVPN config files, a random one is chosen during startup.

Extracting RAR5

If you encounter problems while extracting, have a look here https://board.jdownloader.org/showthread.php?t=71069

  1. Check first post, in case there are changes regarding the following steps
  2. Download the Linux version
  3. Extract the downloaded zip, which should contain two files:
    • sevenzipjbinding1509.jar
    • sevenzipjbinding1509Linux.jar
  4. Move them to /your/path/to/config/files/libs
  5. During next startup, these files will be copied into the correct libs folder of JDownloader

Optional environment variables