You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-4Lines changed: 14 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,6 +83,14 @@ Use `HOST_WHITELIST` to enable an list of dns names as host-whitelist. This enab
83
83
84
84
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.
85
85
86
+
## Read-Only Operation
87
+
88
+
This image can be run with a read-only container filesystem. For details please [read the docs](https://docs.linuxserver.io/misc/read-only/).
89
+
90
+
## Non-Root Operation
91
+
92
+
This image can be run with a non-root user. For details please [read the docs](https://docs.linuxserver.io/misc/non-root/).
93
+
86
94
## Usage
87
95
88
96
To help you get started creating a container from this image you can either use docker-compose or the docker cli.
@@ -110,8 +118,8 @@ services:
110
118
- HOST_WHITELIST= #optional
111
119
volumes:
112
120
- /path/to/transmission/data:/config
113
-
- /path/to/downloads:/downloads
114
-
- /path/to/watch/folder:/watch
121
+
- /path/to/downloads:/downloads#optional
122
+
- /path/to/watch/folder:/watch#optional
115
123
ports:
116
124
- 9091:9091
117
125
- 51413:51413
@@ -137,8 +145,8 @@ docker run -d \
137
145
-p 51413:51413 \
138
146
-p 51413:51413/udp \
139
147
-v /path/to/transmission/data:/config \
140
-
-v /path/to/downloads:/downloads \
141
-
-v /path/to/watch/folder:/watch \
148
+
-v /path/to/downloads:/downloads `#optional` \
149
+
-v /path/to/watch/folder:/watch `#optional` \
142
150
--restart unless-stopped \
143
151
lscr.io/linuxserver/transmission:latest
144
152
```
@@ -164,6 +172,8 @@ Containers are configured using parameters passed at runtime (such as those abov
164
172
|`-v /config`| Where transmission should store config files and logs. |
165
173
|`-v /downloads`| Local path for downloads. |
166
174
|`-v /watch`| Watch folder for torrent files. |
175
+
|`--read-only=true`| Run container with a read-only filesystem. Please [read the docs](https://docs.linuxserver.io/misc/read-only/). |
176
+
|`--user=1000:1000`| Run container with a non-root user. Please [read the docs](https://docs.linuxserver.io/misc/non-root/). |
167
177
168
178
## Environment variables from files (Docker secrets)
- {env_var: "WHITELIST", env_value: "", desc: "Specify an optional list of comma separated ip whitelist. Fills rpc-whitelist setting."}
33
35
- {env_var: "PEERPORT", env_value: "", desc: "Specify an optional port for torrent TCP/UDP connections. Fills peer-port setting."}
34
36
- {env_var: "HOST_WHITELIST", env_value: "", desc: "Specify an optional list of comma separated dns name whitelist. Fills rpc-host-whitelist setting."}
0 commit comments