From ab3d027bd874bdbfe097e878e9c98ad22b2ecb52 Mon Sep 17 00:00:00 2001 From: ltclm Date: Thu, 12 Dec 2024 11:53:10 +0100 Subject: [PATCH] disable docker run memory limitation as decided with @ltrea we will only enable global cgroup limitations in a first step. if this is working fine a docker run limit is not necessary. --- Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/Makefile b/Makefile index 41ce3b4..7091444 100644 --- a/Makefile +++ b/Makefile @@ -84,7 +84,6 @@ export DOCKER_FREE_MEM := $(shell echo $$(( ${free_mem} * ${PERCENTAGE} / 100 )) # DOCKER_EXEC will always check if a newer image exists on ecr -> develop.latest support export DOCKER_EXEC := docker run \ --rm \ - --memory=$(DOCKER_FREE_MEM) \ -t \ -v $(SPHINX_EFS):/var/lib/sphinxsearch/data/index/ \ --env-file $(ENV_FILE) \ @@ -93,7 +92,6 @@ export DOCKER_EXEC := docker run \ export DOCKER_EXEC_LOCAL := docker run \ --rm \ - --memory=$(DOCKER_FREE_MEM) \ -t \ -v $(CURRENT_DIR)/conf/:/var/lib/sphinxsearch/data/index/ \ --env-file $(ENV_FILE) \