hyperhq / runv

Hypervisor-based Runtime for OCI
Apache License 2.0
826 stars 129 forks source link

rootfs is not properly cleaned up #538

Closed bergwolf closed 7 years ago

bergwolf commented 7 years ago

When running with upstream containerd, at container exit, we got:

/ # exit
ctr: rpc error: code = Unknown desc = remove /var/lib/containerd/io.containerd.runtime.v1.linux/default/mytest/rootfs: device or resource busy

And it is because container rootfs is not umounted overlay 2.0G 19M 1.8G 2% /var/lib/containerd/io.containerd.runtime.v1.linux/default/mytest/rootfs

bergwolf commented 7 years ago

fixed by https://github.com/hyperhq/runv/pull/544