Public | Automated Build

Last pushed: 3 days ago
Short Description
A headless instance of JDownloader 2.
Full Description


Headless JDownloader 2 Docker Container

Running the container

  1. Become root if your user is not part of the docker group:

    sudo su
  2. Create a folder on your host for the configuration files (eg. sudo mkdir /config/jd2)
  3. Run the container:

    docker run -d --name jd2 \
        -v /config/jd2:/opt/JDownloader/cfg \
        -v /home/user/Downloads:/downloads \
  4. Wait a minute for the container to initialize
  5. Stop the container:

    docker stop jd2
  6. On your host, enter your credentials (in quotes) to the file org.jdownloader.api.myjdownloader.MyJDownloaderSettings.json as in:

    { "password" : "mypasswort", "email" : "" }
  7. Start the container:

    docker start jd2

Optional environment variables

Environment Variable Description
UID Specifies the UID the daemon should run as. All created files will be owned by this UID. Defaults to 0 for root.
GID Specifies the GID for all created files. This only works in combination with the UID. Defaults to 0 for root.
Docker Pull Command
Source Repository

Comments (3)
a year ago

Nice! Works perfectly

2 years ago

Hello oeil2lynx,

unfortunately I haven't figured out yet, how to run JDownloader as a specific user in the container. Although, to be fair I didn't spend too much time looking into the issue. Will do so this week.


2 years ago

Thx plusminus for your docker

I install it in my unraid server and work perfectly.

Just all the files downloaded by JD are root:root so after download i can't rename or move it without use chown command chown -R nobody:users *

i didn't find a solution to start JD and download files in the right user.

Any idea?