Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Failed to detect container environment when using cgroups #12721

Closed
Assignees
DanielleMaywood
Labels
cliArea: CLIs4Internal bugs (e.g. test flakes), extreme edge cases, and bug risks
@tpambor

Description

@tpambor

IsContainerized returns false when executed in a container using cgroupns as/proc/1/cgroup is just0::/ due to cgroup namespacing in the container.

Please consider also checking for/sys/fs/cgroup/cgroup.type in these cases. See for example the container detection in systemd,https://github.com/systemd/systemd/blob/main/src/basic/virt.c#L593.

Metadata

Metadata

Labels

cliArea: CLIs4Internal bugs (e.g. test flakes), extreme edge cases, and bug risks

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp