4 ms·
he is not running in a container - he is not running the command in isolation from the system, he is running on the current system. The script is mounting an ov
by MichaelMoser123 3y ago
he is not running in a container - he is not running the command in isolation from the system, he is running on the current system. The script is mounting an overlay file system for each root directory on the current system, then looking at what has been added as a new layer - that's what the command is supposed to add to the running system.
Pure genius.
See https://github.com/binpash/try/blob/b2df6b650cb2b589515631748761e9910a07c343/try#L22C4-L22C4 https://github.com/binpash/try/blob/b2df6b650cb2b58951563174...
- amelius 3y agoCan you do this as a non-root user?
- kevincox 3y agoI don't know about the script but in theory yes. As long as non-root namespaces are enabled. (Enabled by default on most distos these days)
- MichaelMoser123 3y agodidn't try it out yet (running on osx right now). But it should work with non-root users. The underlying file system is read-only.