Explorar o código

readme example: drop caps, no new privs

Fabian Peter Hammerle %!s(int64=5) %!d(string=hai) anos
pai
achega
4b315e793f
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      README.md

+ 1 - 0
README.md

@@ -18,6 +18,7 @@ $ docker create --name onion-service \
     --env TARGET=1.1.1.1:80 \
     --volume onion-key:/onion-service \
     --restart unless-stopped \
+    --cap-drop all --security-opt no-new-privileges \
     fphammerle/onion-service:latest
 
 $ docker start onion-service