No description
Find a file
PlusMinus0 da75fcec18 Merge pull request #9 from thelittlefireman/master
UID=0 or GID=0 will set default user or group respectively to root.
2017-10-04 11:40:07 +02:00
Dockerfile Reset Dockerfile 2017-09-20 17:48:07 +02:00
README.md Fix name in README 2017-09-20 17:54:27 +02:00
startJD2.sh fix somtimes force to jdownloader user 2017-09-30 16:23:52 +02:00

headless-jd2-docker

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 \
        plusminus/jdownloader2-headless
    
  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" : "email@home.org" }
    
  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.