No description
Find a file
2018-11-21 16:15:05 +01:00
common Restructured some things and made 1000:100 the default user. Added debian base image, tests and update README.md 2018-11-17 22:54:47 +01:00
.gitignore Add gitignore 2018-11-17 21:31:56 +01:00
.travis.yml Try webhook for docker hub. 2018-11-17 23:38:59 +01:00
alpine.Dockerfile Restructured some things and made 1000:100 the default user. Added debian base image, tests and update README.md 2018-11-17 22:54:47 +01:00
build-n-test.sh Set shebang to use bash instead of generic shell. 2018-11-17 23:14:37 +01:00
debian.Dockerfile Restructured some things and made 1000:100 the default user. Added debian base image, tests and update README.md 2018-11-17 22:54:47 +01:00
goss.yaml Updated goss once more 2018-11-17 23:25:01 +01:00
README.md Update README.md 2018-11-21 16:15:05 +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:/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.