diff --git a/doc/toolbox-init-container.1.md b/doc/toolbox-init-container.1.md index 32d298b..358a8aa 100644 --- a/doc/toolbox-init-container.1.md +++ b/doc/toolbox-init-container.1.md @@ -62,6 +62,46 @@ container. Create a user inside the toolbox container whose login directory is HOME. This option is required. +**--home-link** + +Make `/home` a symbolic link to `/var/home`. + +**--media-link** + +Make `/media` a symbolic link to `/run/media`. + +**--mnt-link** + +Make `/mnt` a symbolic link to `/var/mnt`. + +**--monitor-host** + +Ensures that certain configuration files inside the toolbox container are kept +synchronized with their counterparts on the host, and bind mounts some paths +from the host's file system into the container. + +The synchronized files are: + +- `/etc/host.conf` +- `/etc/hosts` +- `/etc/localtime` +- `/etc/resolv.conf` +- `/etc/timezone` + +The bind mounted paths are: + +- `/etc/machine-id` +- `/run/libvirt` +- `/run/systemd/journal` +- `/run/systemd/resolve` +- `/run/udev/data` +- `/tmp` +- `/var/lib/flatpak` +- `/var/lib/libvirt` +- `/var/lib/systemd/coredump` +- `/var/log/journal` +- `/var/mnt` + **--shell** SHELL Create a user inside the toolbox container whose login shell is SHELL. This @@ -77,46 +117,6 @@ option is required. Create a user inside the toolbox container whose login name is LOGIN. This option is required. -**--home-link** - -Make `/home` a symbolic link to `/var/home`. - -**--media-link** - -Make `/media` a symbolic link to `/run/media`. - -**--mnt-link** - -Make `/mnt` a symbolic link to `/var/mnt`. - -**--monitor-host** - -Ensure that certain configuration files inside the toolbox container are kept -synchronized with their counterparts on the host. - -The synchronized files are: - -- `/etc/host.conf` -- `/etc/hosts` -- `/etc/localtime` -- `/etc/resolv.conf` -- `/etc/timezone` - -The following paths are bind mounted to paths from the host's filesystem -available in the container: - -- `/etc/machine-id` -- `/run/libvirt` -- `/run/systemd/journal` -- `/run/systemd/resolve` -- `/run/udev/data` -- `/tmp` -- `/var/lib/flatpak` -- `/var/lib/libvirt` -- `/var/lib/systemd/coredump` -- `/var/log/journal` -- `/var/mnt` - ## SEE ALSO `toolbox(1)`, `podman(1)`, `podman-create(1)`, `podman-start(1)`