mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Pass the containerCgroup to the sandbox object instead of parent.
This is a bug reported by #8311. It affects sandboxes where containerCgroup != parentCgroup. PiperOrigin-RevId: 498443910
This commit is contained in:
committed by
gVisor bot
parent
ab1e49567e
commit
85f261dd1e
@@ -283,7 +283,7 @@ func New(conf *config.Config, args Args) (*Container, error) {
|
||||
UserLog: args.UserLog,
|
||||
IOFiles: ioFiles,
|
||||
MountsFile: specFile,
|
||||
Cgroup: parentCgroup,
|
||||
Cgroup: containerCgroup,
|
||||
Attached: args.Attached,
|
||||
OverlayFilestoreFile: overlayFilestoreFile,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user