Skip to content

Commit

Permalink
Dropping ptrace capability (#17)
Browse files Browse the repository at this point in the history
Ptrace is known for it's use in software such as proot, mostly used with purposes other than it's intended use.

Co-authored-by: nulldaemon <[email protected]>
  • Loading branch information
nu11daemon and nu11daemon authored Sep 23, 2024
1 parent 7c9ca52 commit e5e1de5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions environment/docker/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ func (e *Environment) Create() error {
CapDrop: []string{
"setpcap", "mknod", "audit_write", "net_raw", "dac_override",
"fowner", "fsetid", "net_bind_service", "sys_chroot", "setfcap",
"sys_ptrace",
},
NetworkMode: networkMode,
UsernsMode: container.UsernsMode(cfg.Docker.UsernsMode),
Expand Down

0 comments on commit e5e1de5

Please sign in to comment.