hyperhq / runv

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

oci: skip passing mountpoints whose destination start with /dev & /sys into hyperstart #585

Open laijs opened 7 years ago

laijs commented 7 years ago

Now, runv skips passing mountpoints which destination starts with /proc into hyperstart. But mountpoints starting with /dev & /sys should be skipped too. Since the hyperstart will mount /proc, /dev and /sys and make original /proc, /dev and /sys hidden. skipping passing might be a good idea.