-
Notifications
You must be signed in to change notification settings - Fork 604
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix inspect show more than one number #324
Conversation
for images we distinguish two cases :
|
@ningmingxiao the condition should be |
Please add DCO sign (Signed-off-by line) https://github.com/apps/dco |
I've done |
you should have a the error is raised if we find : |
Signed-off-by: ning.mingxiao <ning.mingxiao@zte.com.cn>
sorry ,i make a mistick,done. |
LGTM |
How to test this? |
may be it is difficult to test, because containerd create random id,do you have some idea? |
First
nerdctl -n k8s.io ps -a|grep 21
214237255fea k8s.gcr.io/pause:3.1 "/pause" 2 days ago Up
21bf9ea81561 docker.io/calico/cni:v3.8.2 "/install-cni.sh" 2 days ago Created
42174dbd8880 sha256:96047edc008f46c6f3a597012d58e356f06ac8b648122e2717946cfeebecefcf "/usr/local/bin/flex…" 2 days ago Created
Then
nerdctl -n k8s.io inspect 21 it will show double container, not like docker .