[systemd-devel] systemd-nspawn v237 - cannot start two containers with same directory

patlollamahipal at yahoo.co.in patlollamahipal at yahoo.co.in
Thu Jul 26 20:13:38 UTC 2018


Hi All,
I am using systemd 237. I am trying to start two containers using systemd-nspawn with same root directory. First one starts but the second one throws the Error "Directory Tree /a/b/c/ is currently busy."
In version 239 man pages, it's mentioned implicitly, that it can be used so.
v239 man pageNote that running two systemd-nspawn containers from the same directory tree will not make processes in them see each other. The PID namespace separation of the two containers is complete and the containers will share very few runtime objects except for the underlying file system. Usemachinectl(1)'s login or shell commands to request an additional login session in a running container.

Can you please let me know if this is still valid for systemd version 237 ? If it is possible to start two containers from the same directory, what could be the reason for the error for second container. Thank You
Regards
Mahipal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20180726/857ab116/attachment.html>


More information about the systemd-devel mailing list