From 7ac567c9cb5ddff51027328f0a536476573afd71 Mon Sep 17 00:00:00 2001 From: Jesper Noordsij <45041769+jnoordsij@users.noreply.github.com> Date: Mon, 16 Dec 2024 16:53:08 +0100 Subject: [PATCH] Replace deprecated usage of : separator in security opt --- content/reference/compose-file/services.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/content/reference/compose-file/services.md b/content/reference/compose-file/services.md index 90999a93bf90..b110450052d8 100644 --- a/content/reference/compose-file/services.md +++ b/content/reference/compose-file/services.md @@ -913,12 +913,12 @@ services: common: image: busybox security_opt: - - label:role:ROLE + - label=role:ROLE cli: extends: service: common security_opt: - - label:user:USER + - label=user:USER ``` Produces the following configuration for the `cli` service. @@ -926,8 +926,8 @@ Produces the following configuration for the `cli` service. ```yaml image: busybox security_opt: -- label:role:ROLE -- label:user:USER +- label=role:ROLE +- label=user:USER ``` In case list syntax is used, the following keys should also be treated as sequences: @@ -1715,8 +1715,8 @@ secrets: ```yml security_opt: - - label:user:USER - - label:role:ROLE + - label=user:USER + - label=role:ROLE ``` For further default labeling schemes you can override, see [Security configuration](/reference/cli/docker/container/run.md#security-opt).