From e3d84e6b1d2bb63ff0285cc93550aa5f01f3a168 Mon Sep 17 00:00:00 2001 From: Ben Zelnick <34197604+ZelnickB@users.noreply.github.com> Date: Wed, 2 Aug 2023 10:30:56 -0400 Subject: [PATCH] Removed problematic `security_opt`: `no-new-privileges` This commit removes the no-new-privileges security options from the services defined in the /docker-compose.yml file, as it causes errors when attempting to start the containers (see mattermost/docker#128). Removing the security option seems to resolve the problem. --- docker-compose.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index e50d7a9..8f74909 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,8 +6,6 @@ services: postgres: image: postgres:${POSTGRES_IMAGE_TAG} restart: ${RESTART_POLICY} - security_opt: - - no-new-privileges:true pids_limit: 100 read_only: true tmpfs: @@ -29,8 +27,6 @@ services: - postgres image: mattermost/${MATTERMOST_IMAGE}:${MATTERMOST_IMAGE_TAG} restart: ${RESTART_POLICY} - security_opt: - - no-new-privileges:true pids_limit: 200 read_only: ${MATTERMOST_CONTAINER_READONLY} tmpfs: