weakbox

Create a weak container for running programs from a different Linux distribution
Log | Files | Refs | LICENSE

commit a242984c8c873bff8045418aff8ea1d5c3d76a09
parent 0f3295e2442f79c947b9c0e1a5ecd2aedd555f29
Author: Friedel Schön <[email protected]>
Date:   Mon, 22 Apr 2024 10:59:20 +0200

add default-mounts to README

Diffstat:
Mreadme.md | 13++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/readme.md b/readme.md @@ -37,10 +37,21 @@ weakbox [options] command ... - `-v`: Enable verbose mode for debugging purposes. - `-r path`: Set the root path of the container to `path`. - `-b source[:target]`: Bind mount the specified source directory to the target directory within the container. Target is relative to `root`. -- `-B source`: Remove the specified bind mount from the container. +- `-B source`: Remove a default bind mount from the container. - `-u uid[:uid]`: Map user IDs inside the container. - `-g gid[:gid]`: Map group IDs inside the container. +### Default Mounts +- `/dev`: directory containing all devices +- `/home`: home directories of users +- `/proc`: directories containing information about processes +- `/sys`: system directories for various devices +- `/tmp`: temporary directory +- `/run`: temporary directory for daemons and long-running programs +- `/etc/resolv.conf`: nameserver-resolution configuration +- `/etc/passwd`: file containing information about users +- `/etc/group`: file containing information about groups + ### Examples 1. Run a program within the container: