Bladeren bron

Fix deprecated format for security-opt

Signed-off-by: Kai Qiang Wu(Kennan) <wkqwu@cn.ibm.com>
(cherry picked from commit 0b207e75585cd4ba9a40460d87766052dd7508a7)
Kai Qiang Wu(Kennan) 9 jaren geleden
bovenliggende
commit
35d6def3aa
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2 2
      docs/reference/run.md

+ 2 - 2
docs/reference/run.md

@@ -608,8 +608,8 @@ with the same logic -- if the original volume was specified with a name it will
                                          to the container
                                          to the container
     --security-opt="no-new-privileges" : Disable container processes from gaining
     --security-opt="no-new-privileges" : Disable container processes from gaining
                                          new privileges
                                          new privileges
-    --security-opt="seccomp:unconfined": Turn off seccomp confinement for the container
-    --security-opt="seccomp:profile.json: White listed syscalls seccomp Json file to be used as a seccomp filter
+    --security-opt="seccomp=unconfined": Turn off seccomp confinement for the container
+    --security-opt="seccomp=profile.json: White listed syscalls seccomp Json file to be used as a seccomp filter
 
 
 
 
 You can override the default labeling scheme for each container by specifying
 You can override the default labeling scheme for each container by specifying