Closed
Description
I am not sure if it is related to nerdctl or containerd.
What I expected:
The container name will be shown in the result. It can help me find the pod related container.
Package info:
containerd: github.com/containerd/containerd v1.4.4 05f951a3781f4f2c1911b05e61c160e9c30eaa8e
nerdctl: nerdctl version 0.12.1
nerdctl -n k8s.io ps
[root@apiserver ~]# nerdctl -n k8s.io ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
23ae15691f61 k8s.gcr.io/pause:3.2 "/pause" 5 hours ago Up
2b6fc2370c14 k8s.gcr.io/kube-apiserver:v1.20.0 "kube-apiserver --ad…" 5 hours ago Up
31eeb320ced9 k8s.gcr.io/coredns:1.7.0 "/coredns -conf /etc…" 5 hours ago Up
49f0ef279c36 k8s.gcr.io/kube-controller-manager:v1.20.0 "kube-controller-man…" 5 hours ago Up