mirror of
https://github.com/containers/podman.git
synced 2025-12-01 18:49:18 +08:00
Bump github.com/containers/common from 0.9.4 to 0.9.5
Bumps [github.com/containers/common](https://github.com/containers/common) from 0.9.4 to 0.9.5. - [Release notes](https://github.com/containers/common/releases) - [Commits](https://github.com/containers/common/compare/v0.9.4...v0.9.5) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
committed by
Daniel J Walsh
parent
81c7a2444c
commit
f0ebde8254
7
vendor/github.com/containers/common/pkg/config/default.go
generated
vendored
7
vendor/github.com/containers/common/pkg/config/default.go
generated
vendored
@@ -141,13 +141,18 @@ func DefaultConfig() (*Config, error) {
|
||||
netns = "slirp4netns"
|
||||
}
|
||||
|
||||
cgroupNS := "host"
|
||||
if cgroup2, _ := cgroupv2.Enabled(); cgroup2 {
|
||||
cgroupNS = "private"
|
||||
}
|
||||
|
||||
return &Config{
|
||||
Containers: ContainersConfig{
|
||||
Devices: []string{},
|
||||
Volumes: []string{},
|
||||
Annotations: []string{},
|
||||
ApparmorProfile: DefaultApparmorProfile,
|
||||
CgroupNS: "private",
|
||||
CgroupNS: cgroupNS,
|
||||
Cgroups: "enabled",
|
||||
DefaultCapabilities: DefaultCapabilities,
|
||||
DefaultSysctls: []string{},
|
||||
|
||||
Reference in New Issue
Block a user