mirror of
https://git.netzspielplatz.de/docker-multiarch/jdownloader2-headless.git
synced 2025-11-08 17:19:32 +00:00
1.1 KiB
1.1 KiB
docker-jdownloader2-headless
Headless JDownloader 2 Docker Container
Running the container
- Become root:
sudo su - Create a folder on your host for the configuration files (eg. sudo mkdir /config/jd2)
- Run the container:
docker run -d --name jd2 \ -v /config/jd2:/opt/JDownloader/cfg \ -v /home/user/Downloads:/downloads \ gotofoo/jdownloader2-headless - Wait a minute for the container to initialize
- Stop the container:
docker stop jd2 - On your host, enter your credentials (in quotes) to the file
org.jdownloader.api.myjdownloader.MyJDownloaderSettings.jsonas in:{ "password" : "mypasswort", "email" : "email@home.org" } - 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. |