mirror of
https://git.netzspielplatz.de/docker-multiarch/jdownloader2-headless.git
synced 2025-11-08 20:39:31 +00:00
Update README.md
This commit is contained in:
parent
aa1db2e8e5
commit
f5740bc7c3
1 changed files with 6 additions and 1 deletions
|
|
@ -3,11 +3,13 @@ Headless JDownloader 2 Docker Container
|
||||||
|
|
||||||
## Running the container
|
## Running the container
|
||||||
0. Become root:
|
0. Become root:
|
||||||
|
|
||||||
```
|
```
|
||||||
sudo su
|
sudo su
|
||||||
```
|
```
|
||||||
1. Create a folder on your host for the configuration files (eg. sudo mkdir /config/jd2)
|
1. Create a folder on your host for the configuration files (eg. sudo mkdir /config/jd2)
|
||||||
2. Run the container:
|
2. Run the container:
|
||||||
|
|
||||||
```
|
```
|
||||||
docker run -d --name jd2 \
|
docker run -d --name jd2 \
|
||||||
-v /config/jd2:/opt/JDownloader/cfg \
|
-v /config/jd2:/opt/JDownloader/cfg \
|
||||||
|
|
@ -16,15 +18,18 @@ Headless JDownloader 2 Docker Container
|
||||||
```
|
```
|
||||||
3. Wait a minute for the container to initialize
|
3. Wait a minute for the container to initialize
|
||||||
4. Stop the container:
|
4. Stop the container:
|
||||||
|
|
||||||
```
|
```
|
||||||
docker stop jd2
|
docker stop jd2
|
||||||
```
|
```
|
||||||
5. On your host, enter your credentials (in quotes) to the file `org.jdownloader.api.myjdownloader.MyJDownloaderSettings.json` as in:
|
5. 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" }
|
{ "password" : "mypasswort", "email" : "email@home.org" }
|
||||||
```
|
```
|
||||||
6. Start the container:
|
6. Start the container:
|
||||||
```
|
|
||||||
|
```
|
||||||
docker start jd2
|
docker start jd2
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue