File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
content/reference/compose-file Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -913,21 +913,21 @@ services:
913913 common:
914914 image: busybox
915915 security_opt:
916- - label: role:ROLE
916+ - label= role:ROLE
917917 cli:
918918 extends:
919919 service: common
920920 security_opt:
921- - label: user:USER
921+ - label= user:USER
922922` ` `
923923
924924Produces the following configuration for the `cli` service.
925925
926926` ` ` yaml
927927image: busybox
928928security_opt:
929- - label: role:ROLE
930- - label: user:USER
929+ - label= role:ROLE
930+ - label= user:USER
931931` ` `
932932
933933In case list syntax is used, the following keys should also be treated as sequences :
@@ -1715,8 +1715,8 @@ secrets:
17151715
17161716` ` ` yml
17171717security_opt:
1718- - label: user:USER
1719- - label: role:ROLE
1718+ - label= user:USER
1719+ - label= role:ROLE
17201720` ` `
17211721
17221722For further default labeling schemes you can override, see [Security configuration](/reference/cli/docker/container/run.md#security-opt).
You can’t perform that action at this time.
0 commit comments