zaphod, 1 year ago (edited 6 months ago) Assuming systemd, create a file like <span style="color:#323232;">/etc/systemd/system/dir-to-mount.mount </span> And then configure it per the systemd docs: www.freedesktop.org/…/systemd.mount.html Then modify the docker unit file to have a dependency on the mount unit so it’s guaranteed to be up before docker starts.
Assuming systemd, create a file like
<span style="color:#323232;">/etc/systemd/system/dir-to-mount.mount </span>
And then configure it per the systemd docs:
www.freedesktop.org/…/systemd.mount.html
Then modify the docker unit file to have a dependency on the mount unit so it’s guaranteed to be up before docker starts.