From 5875f69b0f26e58eb6331d6caa9e11aabf0f142e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Tue, 22 Oct 2024 18:04:30 +0800 Subject: [PATCH] fix --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 53d795d..5ec544a 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,7 @@ docker run -d \ -p 6099:6099 \ --name napcat \ --restart=always \ +--security-opt seccomp:unconfined \ mlikiowa/napcat-docker:latest ``` @@ -70,6 +71,7 @@ docker run -d \ -e WS_URLS='["ws://192.168.3.8:5140/onebot"]' \ -e NAPCAT_GID=$(id -g) \ -e NAPCAT_UID=$(id -u) \ +--security-opt seccomp:unconfined \ --name napcat \ --restart=always \ mlikiowa/napcat-docker:latest @@ -90,6 +92,8 @@ services: - NAPCAT_GID=${NAPCAT_GID} container_name: napcat network_mode: bridge + security_opt: + - seccomp:unconfined ports: - 6099:6099 restart: always @@ -138,6 +142,8 @@ services: ports: - 3000:3000 - 6099:6099 + security_opt: + - seccomp:unconfined container_name: napcat network_mode: bridge restart: always