hyperhq / runv

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

clean volume mountpoint before adding to container #444

Closed bergwolf closed 7 years ago

bergwolf commented 7 years ago

It helps to avoid chroot jail break in hyperstart. Also reject mounting a volume to rootfs as it would eventually break anyway.