diff --git a/Running-docker-container-with-non-root-user.md b/Running-docker-container-with-non-root-user.md index e7d4237..715e585 100644 --- a/Running-docker-container-with-non-root-user.md +++ b/Running-docker-container-with-non-root-user.md @@ -29,7 +29,8 @@ 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. - +```yaml cap_add: - CAP_NET_BIND_SERVICE user: nobody +``` \ No newline at end of file