mirror of
https://github.com/dani-garcia/vaultwarden.wiki.git
synced 2026-11-23 02:49:38 +02:00
Updated Running docker container with non root user (markdown)
1 parent
bd5397fdda
commit
2cd1351fbd
1 file changed
+6
@@ -27,3 +27,9 @@ docker run -d \
|
||||
```
|
||||
|
||||
Notice that the port mapping (`-p 80:1024`) reflects the `ROCKET_PORT` setting.
|
||||
|
||||
Another way may be CAP_NET_BIND_SERVICE, which allows to bind to ports below 1024 as non-root user.
|
||||
|
||||
cap_add:
|
||||
- CAP_NET_BIND_SERVICE
|
||||
user: nobody
|
||||
Reference in new issue
Block a user