mkosi-sandbox(1) General Commands Manual mkosi-sandbox(1) (NAME) mkosi-sandbox - (SYNOPSIS) mkosi-sandbox [options...] command [arguments] (DESCRIPTION) mkosi-sandbox ( ) . . mkosi-sandbox bash . . . mkosi-sandbox (import) enter . . : import mkosi.sandbox mkosi.sandbox.enter(["--become-root"]) print(os.getuid()) enter . mkosi.sandbox . (OPTIONS) --tmpfs DST tmpfs DST (mount) . --dev DST /dev DST . /dev ( /dev/null) . --dir DST DST . 755 /tmp /var/tmp 1777 . --bind SRC DST SRC DST (bind mount) . . . + . . --bind-try SRC DST --bind . --ro-bind SRC DST --bind bind mount . --ro-bind-try SRC DST --bind-try bind mount . --bind-foreign SRC DST --bind mkosi-sandbox (user namespace) systemd-nsresourced UID --bind-foreign systemd-mountfsd UID UID (idmap) . mkosi-sandbox . systemd-nsresourced systemd-mountfsd v260 . --ro-bind-foreign SRC DST --bind-foreign . --bind-nofollow SRC DST --bind (symlinks) SRC . SRC . --ro-bind-nofollow SRC DST --bind-nofollow . --symlink SRC DST DST SRC . DST DST . --write DATA DST DATA DST . --overlay-lowerdir DIR DIR (lower directory) overlayfs . --overlay-upperdir DIR (upper directory) overlayfs DIR . tmpfs (workdir) tmpfs . --overlay-workdir DIR overlayfs DIR . --overlay DST overlay DST . --overlay-lowerdir --overlay-upperdir --overlay-workdir . --overlay overlay . --unsetenv NAME NAME (unset) . --setenv NAME VALUE NAME VALUE . --chdir DIR DIR . --same-dir mkosi-sandbox . --become-root (root) . . (ambient capabilities) . CAP_SYS_ADMIN bind mount . mkosi-sandbox . --map-foreign UID (foreign) . UID : Users, Groups, UIDs and GIDs on systemd Systems . mkosi-sandbox (unprivileged) systemd-nsresourced v260 . --map-delegate N N UID/GID . systemd-nspawn systemd-nsresourced mkosi-sandbox UID . systemd-nsresourced v260 . --suppress-chown chown() (noop) . chown() mkosi-sandbox . --suppress-sync sync() (noop) . sync() . --unshare-net mkosi-sandbox (network namespace) (unshare) . --unshare-ipc mkosi-sandbox IPC (unshare) . --pack-fds $LISTEN_FDS $LISTEN_PID pid . --debug . --version . --help, -h . (EXAMPLES) bash : mkosi-sandbox --bind / / --same-dir --unshare-net id /usr : mkosi-sandbox \ --ro-bind /usr /usr \ --symlink usr/bin /bin \ --symlink usr/lib /lib \ --symlink usr/lib64 /lib64 \ --symlink usr/sbin /sbin \ --dev /dev \ --bind /proc /proc \ --tmpfs /tmp \ --become-root \ id (SEE ALSO) mkosi(1) mkosi-sandbox(1)