Browse Source

readme example: drop caps, no new privs

Fabian Peter Hammerle 5 years ago
parent
commit
4b315e793f
1 changed files with 1 additions and 0 deletions
  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