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
+27Lines changed: 27 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -165,15 +165,42 @@ For easy deployment, we've created an official Docker container. There are two v
165
165
166
166
The default one will run as `root`:
167
167
168
+
> [!WARNING]
169
+
> It is discouraged to use `latest` tag for WatchTower or similar tools. The `latest` tag can reference unreleased developer, test builds, and patch releases for older versions. Use an actual version tag until transfer.sh supports major or minor version tags.
170
+
168
171
```bash
169
172
docker run --publish 8080:8080 dutchcoders/transfer.sh:latest --provider local --basedir /tmp/
170
173
```
171
174
175
+
### No root
176
+
177
+
The `-noroot` tags indicate image builds that run with least priviledge to reduce the attack surface might an application get compromised.
178
+
> [!NOTE]
179
+
> Using `-noroot` is **recommended**
180
+
172
181
The one tagged with the suffix `-noroot` will use `5000` as both UID and GID:
173
182
```bash
174
183
docker run --publish 8080:8080 dutchcoders/transfer.sh:latest-noroot --provider local --basedir /tmp/
0 commit comments