0
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden synced 2024-06-15 18:38:21 +02:00

Updated Running docker container with non root user (markdown)

St. Veit 2023-09-23 08:01:33 +02:00
parent bd5397fdda
commit 2cd1351fbd

@ -26,4 +26,10 @@ docker run -d \
vaultwarden/server:latest
```
Notice that the port mapping (`-p 80:1024`) reflects the `ROCKET_PORT` setting.
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