No description
Find a file
2019-08-03 11:05:11 +02:00
common auto create myjdownloader config 2019-08-03 11:05:11 +02:00
.gitignore Add newline to end fot .gitignore. 2018-11-22 10:13:12 +01:00
.travis.yml Try webhook for docker hub. 2018-11-17 23:38:59 +01:00
alpine.Dockerfile auto create myjdownloader config 2019-08-03 11:05:11 +02:00
build-n-test.sh Fix case where UID and GID are passed and added a test for that case. 2018-11-22 10:11:53 +01:00
debian.Dockerfile auto create myjdownloader config 2019-08-03 11:05:11 +02:00
goss-default.yaml Merge branch 'dev' of https://github.com/PlusMinus0/headless-jd2-docker into dev 2018-12-05 12:13:37 +01:00
goss-uid-test.yaml Fix case where UID and GID are passed and added a test for that case. 2018-11-22 10:11:53 +01:00
README.md Update README.md 2019-03-09 09:43:30 +01:00

Build Status

Supported tags

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:/opt/JDownloader/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:

    { "email" : "email@home.org", "password" : "mypasswort" }
    
  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 1000.
GID Specifies the GID for all created files. This only works in combination with the UID. Defaults to 100 for users.

Not setting these will default to 1000:100.