mirror of
https://git.netzspielplatz.de/docker-multiarch/jdownloader2-headless.git
synced 2025-11-08 18:59:29 +00:00
Update README.md
This commit is contained in:
parent
4a8746ab8a
commit
aa1db2e8e5
1 changed files with 12 additions and 9 deletions
21
README.md
21
README.md
|
|
@ -3,11 +3,11 @@ Headless JDownloader 2 Docker Container
|
|||
|
||||
## Running the container
|
||||
0. Become root:
|
||||
|
||||
`sudo su`
|
||||
```
|
||||
sudo su
|
||||
```
|
||||
1. Create a folder on your host for the configuration files (eg. sudo mkdir /config/jd2)
|
||||
2. Run the container:
|
||||
|
||||
```
|
||||
docker run -d --name jd2 \
|
||||
-v /config/jd2:/opt/JDownloader/cfg \
|
||||
|
|
@ -16,14 +16,17 @@ Headless JDownloader 2 Docker Container
|
|||
```
|
||||
3. Wait a minute for the container to initialize
|
||||
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:
|
||||
|
||||
`{ "password" : "mypasswort", "email" : "email@home.org" }`
|
||||
```
|
||||
{ "password" : "mypasswort", "email" : "email@home.org" }
|
||||
```
|
||||
6. Start the container:
|
||||
|
||||
`docker start jd2`
|
||||
```
|
||||
docker start jd2
|
||||
```
|
||||
|
||||
## Optional environment variables
|
||||
|Environment Variable|Description|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue