This commit is contained in:
gotofoo 2017-03-05 00:01:50 +01:00 committed by GitHub
parent e82c5db0fd
commit 4a8746ab8a

View file

@ -1,12 +1,19 @@
# headless-jd2-docker # docker-jdownloader2-headless
Headless JDownloader 2 Docker Container Headless JDownloader 2 Docker Container
## Running the container ## Running the container
0. `sudo su` 0. Become root:
`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 -v /config/jd2:/opt/JDownloader/cfg -v /home/user/Downloads:/downloads gotofoo/jdownloader2-headless` ```
docker run -d --name jd2 \
-v /config/jd2:/opt/JDownloader/cfg \
-v /home/user/Downloads:/downloads \
gotofoo/jdownloader2-headless
```
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: