Merge pull request #424 from aanderse/container/systemd-nspawn

Add systemd-nspawn to the list of container types

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg authored and GitHub committed 2025-02-03 07:13:33 +01:00
commit 01a01d65c0
1 file changed
+2 -1
+2 -1
View File
@@ -585,7 +585,8 @@ int in_container(void)
"lxc", "lxc",
"docker", "docker",
"kubepod", "kubepod",
"unshare" "unshare",
"systemd-nspawn"
}; };
const char *files[] = { const char *files[] = {
"/run/.containerenv", "/run/.containerenv",