Skip to content

Podman: Error: error starting some containers: some containers failed #30

Open
@dzintars

Description

@dzintars

After some mysterious system tweaks i can't run containers with Podman.
Nor in user-space nor as root.
It returns

Error: error starting some containers: some containers failed

To investigate the issue i try to run single created container:

podman start my-container-name

Result is:

Error: OCI runtime error: unable to start container "0e77101d474a8c65db0c485ee4a08de3471e84e5737016a7b6ed5a85cb26f2ba": container_linux.go:370: starting container process caused: process_linux.go:459: container init caused: process_linux.go:422: setting cgroup config for procHooks process caused: cannot set memory limit: container could not join or create cgroup

Much better as now i have some clues. Let's check the cgroup version

podman info | grep cgroup

And the result seems leads to the root of the issue above.

  cgroupManager: cgroupfs
  cgroupVersion: v1

This means, that at some point i had switched to the cGroup v1. But i don't remember why i did that.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions