-
Notifications
You must be signed in to change notification settings - Fork 0
Docker
resort-io edited this page May 1, 2024
·
11 revisions
- Use the
docker run
command to create and start the container. - Use the
docker create
command to only create the container.
docker run
--name=nyaa-watcher
-v /path/to/torrent-client/watch:/downloads
-v /path/to/appdata/nyaa-watcher:/watcher
--restart unless-stopped
resortdocker/nyaa-watcher:latest
docker run
--name=nyaa-watcher
-e LOG_LEVEL=DEBUG
-e LOG_TIPS=false
-v /path/to/torrent-client/watch:/downloads
-v /path/to/appdata/nyaa-watcher:/watcher
--restart unless-stopped
resortdocker/nyaa-watcher:latest
Docker Desktop is available for Mac and Windows.
- Use the
docker pull
command to pull the latest image from Docker Hub.
docker pull resortdocker/nyaa-watcher:latest
- Open the Docker Desktop application and click the Images tab in the left sidebar.
- Within the list of images and under the Actions column, click the Run button for the
nyaa-watcher
image. - In the Optional Settings dropdown, input both of your host volume paths for the
/downloads
and/watcher
container paths. - Click Run to start the container.
You can enable Docker to run at startup to automatically start the container.
The syntax for the volume parameter is <host>:<container>
.
Parameter | Description |
---|---|
-v /downloads |
Directory for downloaded torrent files. You can point your torrent client to this directory to automatically download the torrents. |
-v /watcher |
Directory for watcher JSON files. |
-e LOG_LEVEL |
Log information level (Optional). INFO (default) or DEBUG
|
-e LOG_TIPS |
Show tips in the log (Optional). true (default) or false
|
All image tags can be found on Docker Hub.