Remove sub-mounts under /dev when starting an LXC container
Since we are mounting a new /dev in the container, we must remove any sub-mounts like /dev/shm, /dev/mqueue, etc, otherwise they'll be recorded in /proc/mounts, but not be accessible to applications.
Showing
想要评论请 注册 或 登录