[systemd-devel] Possible to add bind mounts without rebooting container?

Leho Kraav leho at kraav.com
Mon Sep 15 01:16:05 PDT 2014


We're currently running systemd-212. man doesn't seem to cover this.

        --bind=, --bind-ro=
            Bind mount a file or directory from the host into the 
container. Either takes a path argument -- in which case the specified 
path will be mounted from the host to the same path in the container --, 
or a colon-separated pair of paths -- in which case the first specified 
path is the source in the host, and the second path is the destination 
in the container. The --bind-ro= option creates read-only bind mounts.

Hoping to avoid rebooting the container.


More information about the systemd-devel mailing list