7 Commits

Author SHA1 Message Date
liuzekun
45c40a4d9c docker: 'delete event' is not need to process in daemon processEvent
Signed-off-by: liuzekun <liuzekun@huawei.com>
2020-04-10 10:58:04 +08:00
openeuler-ci-bot
0777be28b5 !3 docker: Delete stale containerd object on start failure
Merge pull request !3 from Grooooot/master
2020-04-10 10:53:10 +08:00
Grooooot
76b6c4c1b3 docker: Delete stale containerd object on start failure
containerd has two objects with regard to containers.
This is a "container" object which is metadata and a "task" which is
manging the actual runtime state.

When docker starts a container, it creates both the container metadata
and the task at the same time. So when a container exists, docker deletes
both of these objects as well.

This ensures that if, on start, when we go to create the container metadata object
in containerd, if there is an error due to a name conflict taht we go
ahead and clean that up and try again.

backport from upstream: https://github.com/moby/moby/pull/38364

Signed-off-by: Grooooot <isula@huawei.com>
2020-03-17 10:49:57 +08:00
openeuler-ci-bot
62eb84806e !2 docker: add patches
Merge pull request !2 from Grooooot/master
2020-03-05 19:16:01 +08:00
Grooooot
e7de2c79b3 docker: add patches
Signed-off-by: Grooooot <isula@huawei.com>
2020-03-05 15:13:09 +08:00
dogsheng
be56a4fe89 Package init 2019-12-25 19:10:46 +08:00
overweight
6138d366d1 Package init 2019-09-30 10:37:25 -04:00