From bdcc74535d464e85f0a9db2c98fc31d1f6f9ffa3 Mon Sep 17 00:00:00 2001 From: Thorsten Spille Date: Tue, 6 Jan 2026 11:47:56 +0000 Subject: [PATCH] fix lxc config if docker --- install.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install.sh b/install.sh index 53f763b..025b69a 100755 --- a/install.sh +++ b/install.sh @@ -154,6 +154,10 @@ pct create $LXC_NBR $TAGS $LXC_CORES $LXC_POOL --password $LXC_PWD -unprivileged set -u sleep 2; +if [[ $SERVICE_TAGS == *"docker"* ]]; then + echo "lxc.apparmor.profile: unconfined" >> /etc/pve/lxc/${LXC_NBR}.conf +fi + # Check vlan configuration if [[ $LXC_VLAN != "NONE" ]];then VLAN=",tag=$LXC_VLAN"; else VLAN=""; fi # Reconfigure conatiner