feat: dnew --privileged
This commit is contained in:
parent
aaac3f8792
commit
77c1c27321
|
@ -31,7 +31,7 @@ container_name=$(whoami)_$(date +%y%m%d-%H%M%S)
|
||||||
|
|
||||||
base_command="sudo docker run -d --net=host \\
|
base_command="sudo docker run -d --net=host \\
|
||||||
-v /home2:/home2 -v /gshare:/gshare \\
|
-v /home2:/home2 -v /gshare:/gshare \\
|
||||||
--cap-add=SYS_NICE --cap-add=IPC_LOCK \\
|
--privileged \\
|
||||||
--security-opt seccomp=unconfined --ulimit memlock=-1:-1 \\
|
--security-opt seccomp=unconfined --ulimit memlock=-1:-1 \\
|
||||||
--restart=unless-stopped \\
|
--restart=unless-stopped \\
|
||||||
--name $container_name"
|
--name $container_name"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user