From 5f309ec49a5b7b66a471389c9b77b994dc729134 Mon Sep 17 00:00:00 2001 From: Anner Visser Date: Mon, 31 Oct 2022 20:17:10 +0100 Subject: [PATCH] docs(docker): remove array around seccomp profile (#18457) --- docs/src/docker.md | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/docs/src/docker.md b/docs/src/docker.md index c1652a92fa..6602fdd4c9 100644 --- a/docs/src/docker.md +++ b/docs/src/docker.md @@ -76,20 +76,18 @@ docker run -it --rm --ipc=host --user pwuser --security-opt seccomp=seccomp_prof [`seccomp_profile.json`](https://github.com/microsoft/playwright/blob/main/utils/docker/seccomp_profile.json) is needed to run Chromium with sandbox. This is a [default Docker seccomp profile](https://github.com/docker/engine/blob/d0d99b04cf6e00ed3fc27e81fc3d94e7eda70af3/profiles/seccomp/default.json) with extra user namespace cloning permissions: ```json -[ - { - "comment": "Allow create user namespaces", - "names": [ - "clone", - "setns", - "unshare" - ], - "action": "SCMP_ACT_ALLOW", - "args": [], - "includes": {}, - "excludes": {} - } -] +{ + "comment": "Allow create user namespaces", + "names": [ + "clone", + "setns", + "unshare" + ], + "action": "SCMP_ACT_ALLOW", + "args": [], + "includes": {}, + "excludes": {} +} ``` :::note