Add CAP_SYS_PTRACE to config

NOTE: This is needed to enter namespaces for other users!
pull/20/head v0.1.2
Jack O'Sullivan 3 years ago
parent 5ec8126818
commit a27b20e87d

@ -19,7 +19,7 @@ Plugin "ghcr.io/devplayer0/docker-net-dhcp:release-linux-amd64" is requesting th
- network: [host] - network: [host]
- host pid namespace: [true] - host pid namespace: [true]
- mount: [/var/run/docker.sock] - mount: [/var/run/docker.sock]
- capabilities: [CAP_NET_ADMIN CAP_SYS_ADMIN] - capabilities: [CAP_NET_ADMIN CAP_SYS_ADMIN CAP_SYS_PTRACE]
Do you grant the above permissions? [y/N] y Do you grant the above permissions? [y/N] y
release-linux-amd64: Pulling from ghcr.io/devplayer0/docker-net-dhcp release-linux-amd64: Pulling from ghcr.io/devplayer0/docker-net-dhcp
Digest: sha256:<some hash> Digest: sha256:<some hash>

@ -43,7 +43,8 @@
"linux": { "linux": {
"capabilities": [ "capabilities": [
"CAP_NET_ADMIN", "CAP_NET_ADMIN",
"CAP_SYS_ADMIN" "CAP_SYS_ADMIN",
"CAP_SYS_PTRACE"
] ]
} }
} }

Loading…
Cancel
Save