Add CAP_SYS_PTRACE to config

NOTE: This is needed to enter namespaces for other users!
This commit is contained in:
Jack O'Sullivan 2021-06-11 01:46:03 +01:00
parent 5ec8126818
commit a27b20e87d
2 changed files with 3 additions and 2 deletions

View File

@ -19,7 +19,7 @@ Plugin "ghcr.io/devplayer0/docker-net-dhcp:release-linux-amd64" is requesting th
- network: [host]
- host pid namespace: [true]
- 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
release-linux-amd64: Pulling from ghcr.io/devplayer0/docker-net-dhcp
Digest: sha256:<some hash>

View File

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