diff --git a/README.md b/README.md index 6edced7..20587eb 100644 --- a/README.md +++ b/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|