For instance, if it wants a private /lib, it can mount --bind /scratch/rootfs/lib /lib.
例如,如果它需要一个私有 /lib,则可以执行 mount --bind /scratch/rootfs/lib /lib。
Likewise, the admin can ensure that every container does mount --bind /scratch/shadow /etc/shadow at startup.
同样地,管理员也能确保每个容器都在启动时执行mount --bind /scratch/shadow /etc/shadow。
The bind option to mount clones the first directory onto the second.
mount 的bind选项将第一个目录克隆到第二个。
One other specialized mount object is called an unbindable mount, which is like a private mount but also disallows bind mounting itself.
另一种特殊的挂载对象称为不可绑定的挂载(unbindablemount),它们与私有挂载相似,但是不允许执行绑定挂载。
A bind mount allows any file or directory to be accessible from any other location.
绑定挂载(bind mount)允许从任何其他位置访问任何文件或目录。
A bind mount allows any file or directory to be accessible from any other location.
绑定挂载(bind mount)允许从任何其他位置访问任何文件或目录。
应用推荐