feat: dnew --privileged

This commit is contained in:
Dict Xiong 2024-11-15 10:19:43 +08:00
parent aaac3f8792
commit 77c1c27321

View File

@ -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"