doc/toolbox-init-container: Style fixes
https://github.com/containers/toolbox/pull/814
This commit is contained in:
parent
23256cb443
commit
2b317b94b5
1 changed files with 40 additions and 40 deletions
|
@ -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)`
|
||||
|
|
Loading…
Reference in a new issue