From 77c1c27321e774d114bd5b069f85482ccd06191b Mon Sep 17 00:00:00 2001 From: Dict Xiong Date: Fri, 15 Nov 2024 10:19:43 +0800 Subject: [PATCH] feat: dnew --privileged --- hosts/modules/scripts/dnew | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/modules/scripts/dnew b/hosts/modules/scripts/dnew index e8e853e..7d55f4a 100755 --- a/hosts/modules/scripts/dnew +++ b/hosts/modules/scripts/dnew @@ -31,7 +31,7 @@ container_name=$(whoami)_$(date +%y%m%d-%H%M%S) base_command="sudo docker run -d --net=host \\ -v /home2:/home2 -v /gshare:/gshare \\ - --cap-add=SYS_NICE --cap-add=IPC_LOCK \\ + --privileged \\ --security-opt seccomp=unconfined --ulimit memlock=-1:-1 \\ --restart=unless-stopped \\ --name $container_name"