We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64f491d commit 7929838Copy full SHA for 7929838
cmd/buildah/main.go
@@ -14,7 +14,6 @@ import (
14
"github.com/containers/buildah/define"
15
"github.com/containers/buildah/pkg/cli"
16
"github.com/containers/buildah/pkg/parse"
17
- "github.com/opencontainers/cgroups"
18
ispecs "github.com/opencontainers/image-spec/specs-go"
19
rspecs "github.com/opencontainers/runtime-spec/specs-go"
20
"github.com/sirupsen/logrus"
@@ -232,11 +231,6 @@ func main() {
232
231
return
233
}
234
235
- cgroupsv2 := cgroups.IsCgroup2UnifiedMode()
236
- if !cgroupsv2 {
237
- logrus.Fatalf("Did not detect Cgroups v2 on your system. Please switch to Cgroups v2.")
238
- }
239
-
240
// Hard code TMPDIR functions to use $TMPDIR or /var/tmp
241
os.Setenv("TMPDIR", parse.GetTempDir())
242
0 commit comments