Sign inSign up

alfieri/jdownloader2

By alfieri

•Updated over 5 years ago

Docker image for JDownloader2 running in headless mode

Image
2

100K+

alfieri/jdownloader2 repository overview

⁠Headless jDownloader2 Dockerimage

GitHub issues GitHub license GitHub stars

docker build docker build image size layers docker pulls docker Stars

Docker image for JDownloader2 running in headless mode

⁠Supported Tags

⁠Versions

If you do not care about image size then use the latest version or any version from 2.x. For my opinion the version 2.x is a little bit faster then version one because of performance improvements from openjdk 8 to 11. But since OpenJDK 10 they do not provide an image with just the Java runtime, you always get the complete SDK.

⁠v2.x
  • based on OpenJDK 11 slim image
⁠v1.x
  • based on OpenJDK 8 JRE slim image

⁠Environment Variables

The all the files mapped in the volumes are stored with UID 1000 and GID 100. You can configure this if needed by setting the follwing two environment variables. During the container start all files from mapped volumes will be changed to the default UID/GID or passed JUID/JGID.

Env variableDescription
JUIDUser ID for all files
JGIDGroup ID for all files

⁠Usage

Note: you do not need the --restart flag because the container will run a endless loop so it does not stop. But if you want the container start at system start up just pass --restart always

Hint: Start JDownloader in graphic Mode on your local maschine. Adjust all settings and use the config directory (or all config files) for your docker instance.

⁠Docker CLI
  1. Pull image from Docker Hub⁠ docker pull alfieri/jdownloader2:latest.
  2. Run container with download and config directory mapping docker run -d --name jd -v <config directory>:/opt/jdownloader2/cfg -v <downloader directory>:/home/jdownloader/Downloads alfieri/jdownloader2:latest. Just replace config directory and downloader directory with your local config and download path. During the start JDownloader will install all missing updates. If this happens the container stop automaticly (skip step 3.).
  3. Stop container and adjust configuration docker stop jd
  4. Set your MyJDownloader credentials to org.jdownloader.api.myjdownloader.MyJDownloaderSettings.json (you will find a empty file in my git repo). Set or create the following key:value pairs
{
  "email" : "",
  "password" : "",
  "devicename" : ""
}
  1. Start the conatiner again docker start jd
⁠Docker Compose

(see docker-compose.yml in my git repo)

version: "3.4"

services:
  jd2:
    image: alfieri/jdownloader2:latest
    container_name: jd2
    restart: always
    volumes:
      - "<your config path here>:/opt/jdownloader2/cfg"
      - "<your download path here>:/home/jdownloader/Downloads"

Tag summary

Content type

Image

Digest

Size

333.9 MB

Last updated

over 5 years ago

docker pull alfieri/jdownloader2