kopia lustrzana https://github.com/linuxserver/docker-documentation
Bot Updating Documentation
rodzic
9d7d423efd
commit
0bbcd6693f
|
@ -60,6 +60,14 @@ Use `HOST_WHITELIST` to enable an list of dns names as host-whitelist. This enab
|
||||||
|
|
||||||
Use `PEERPORT` to specify the port(s) Transmission should listen on. This disables random port selection. This should be the same as the port mapped in your docker configuration.
|
Use `PEERPORT` to specify the port(s) Transmission should listen on. This disables random port selection. This should be the same as the port mapped in your docker configuration.
|
||||||
|
|
||||||
|
## Read-Only Operation
|
||||||
|
|
||||||
|
This image can be run with a read-only container filesystem. For details please [read the docs](https://docs.linuxserver.io/misc/read-only/).
|
||||||
|
|
||||||
|
## Non-Root Operation
|
||||||
|
|
||||||
|
This image can be run with a non-root user. For details please [read the docs](https://docs.linuxserver.io/misc/non-root/).
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
To help you get started creating a container from this image you can either use docker-compose or the docker cli.
|
To help you get started creating a container from this image you can either use docker-compose or the docker cli.
|
||||||
|
@ -88,8 +96,8 @@ services:
|
||||||
- HOST_WHITELIST= #optional
|
- HOST_WHITELIST= #optional
|
||||||
volumes:
|
volumes:
|
||||||
- /path/to/transmission/data:/config
|
- /path/to/transmission/data:/config
|
||||||
- /path/to/downloads:/downloads
|
- /path/to/downloads:/downloads #optional
|
||||||
- /path/to/watch/folder:/watch
|
- /path/to/watch/folder:/watch #optional
|
||||||
ports:
|
ports:
|
||||||
- 9091:9091
|
- 9091:9091
|
||||||
- 51413:51413
|
- 51413:51413
|
||||||
|
@ -115,8 +123,8 @@ docker run -d \
|
||||||
-p 51413:51413 \
|
-p 51413:51413 \
|
||||||
-p 51413:51413/udp \
|
-p 51413:51413/udp \
|
||||||
-v /path/to/transmission/data:/config \
|
-v /path/to/transmission/data:/config \
|
||||||
-v /path/to/downloads:/downloads \
|
-v /path/to/downloads:/downloads `#optional` \
|
||||||
-v /path/to/watch/folder:/watch \
|
-v /path/to/watch/folder:/watch `#optional` \
|
||||||
--restart unless-stopped \
|
--restart unless-stopped \
|
||||||
lscr.io/linuxserver/transmission:latest
|
lscr.io/linuxserver/transmission:latest
|
||||||
```
|
```
|
||||||
|
@ -159,6 +167,8 @@ Containers are configured using parameters passed at runtime (such as those abov
|
||||||
|
|
||||||
| Parameter | Function |
|
| Parameter | Function |
|
||||||
| :-----: | --- |
|
| :-----: | --- |
|
||||||
|
| `--read-only=true` | Run container with a read-only filesystem. Please [read the docs](https://docs.linuxserver.io/misc/read-only/). |
|
||||||
|
| `--user=1000:1000` | Run container with a non-root user. Please [read the docs](https://docs.linuxserver.io/misc/non-root/). |
|
||||||
|
|
||||||
## Environment variables from files (Docker secrets)
|
## Environment variables from files (Docker secrets)
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue