Mailinglist Archive: opensuse-bugs (4227 mails)

< Previous Next >
[Bug 1016992] Virtualization:containers/docker: Bug
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Fri, 20 Jan 2017 13:07:23 +0000
  • Message-id: <bug-1016992-21960-Ar1Z9nAiYO@http.bugzilla.opensuse.org/>
http://bugzilla.opensuse.org/show_bug.cgi?id=1016992
http://bugzilla.opensuse.org/show_bug.cgi?id=1016992#c16

--- Comment #16 from Jordi Massaguer <jmassaguerpla@xxxxxxxx> ---
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:
You are on the CC list for the bug.
< Previous Next >