An image for JDownloader 2 in headless mode for use with my.jdownloader.org, combined with an optional to use OpenVPN client.
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.
If you encounter problems while extracting, have a look here https://board.jdownloader.org/showthread.php?t=71069
- Check first post, in case there are changes regarding the following steps
- Download the Linux version
- Extract the downloaded zip, which should contain two files:
sevenzipjbinding1509.jar
sevenzipjbinding1509Linux.jar
- Move them to
/your/path/to/config/files
/libs
- During next startup, these files will be copied into the correct
libs
folder of JDownloader
-
MY_JD_DEVICENAME
The device name on my.jdownloader.org
-
JD_UID
The UID the jdownloader user should have
-
JD_GID
The GID the jdownloader user and group should have
-
VPN_USERNAME
If this and VPN_PASSWORD is specified, the username and password combination is used to authenticate the OpenVPN connection.
-
VPN_PASSWORD
If this and VPN_USERNAME is specified, the username and password combination is used to authenticate the OpenVPN connection.