chroot & lxc

chroot技术

chroot技术,新建一个子系统(拥有自己完整的系统文件)

参考资料

使用 chroot 监狱限制 SSH 用户访问指定目录

https://linux.cn/article-8313-1.html

ldd /usr/bin/rm

lxc (Linux container Linux容器)

  • namespaces 命名空间 隔离环境

  • cgroups 进程资源限制

Last updated