systemctl-bind
Ephemerally bind-mount a file or directory from the host into a unit's mount namespace. tldr-pages
On Linux
Linux
Bind-mount a host path into the same location inside the unit
systemctl bind unit /path/to/host_directoryIdentifyBind-mount a host path into a different location inside the unit
systemctl bind unit /path/to/host_directory /path/to/unit_directoryIdentifyBind-mount a path as read-only inside the unit
systemctl bind unit /path/to/host_directory --read-onlyIdentifyCreate the destination path inside the unit before binding
systemctl bind unit /path/to/host_directory /path/to/unit_directory --mkdirIdentify