You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
https://github.com/binpash/try 这个用 shell 脚本写的工具,利用 namespace 和 overlayfs 做了一个简易沙箱(类似 docker 容器)。让命令跑在沙箱里以便预览效果。
简单看了一下代码,大致思路如下。
感觉思路挺好的。目测坑会出现在 mount 某些目录或设备上,需要多注意,其他问题不大。
Beta Was this translation helpful? Give feedback.
All reactions