Comment # 16 on bug 1016992 from
Hi,

I was able to reproduce your issue.

How to reproduce it:

docker run -ti opensuse top
docker ps <- get the container id
docker stop CONTAINER_ID
docker inspect CONTAINER_ID | grep -i runtime
zypper install docker <- update docker, containerd and runc
docker start CONTAINER_ID

The issue is because, as said in the previous comment, the runtime is actually
saved in the container metadata.

You can compare that value by, after updating docker, containerd and runc, you
run

docker run -ti opensuse top
docker inspect CONTAINER_ID | grep -i runtime

and you'll see in one case this is "oci" and the other one is "runc".

This bug was opened upstream

https://github.com/docker/docker/issues/24343

if you go to the bottom, to the last comment, you'll see they state that either
you recreate your containers, or you run a "hack" workaround that they attached
there. Be warned that is a "hack", I don't know if that will turn on some other
issues...

There was a pull request for not storing this data in the container, but it got
rejected

https://github.com/docker/docker/pull/24345

So I think this is a known bug.


You are receiving this mail because: