Skip to content

runc can not wait process in the container exits when share pid namespace #4145

@kamizjw

Description

@kamizjw

Description

1.docker run with --pid=host
2.other processes in the container except the init process D live
3.docker rm -f $containerdID

Steps to reproduce the issue

Describe the results you received and expected

i received:
1.containerd-shim and init process reaped
shim and init repad
2.container cgroup residue
cgroup residue

What version of runc are you using?

[root@localhost ~]# runc --version
runc version 1.1.3
commit: 02a436f4f2efd8c5a2ec5c4ed3d196242d4edb77
spec: 1.0.2-dev
go: go1.17.3
libseccomp: 2.5.3

Host OS information

No response

Host kernel information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions