add systemd-nspawn to the list of container types

This commit is contained in:
Aaron Andersen committed 2025-02-02 08:58:36 -05:00
1 parent 74f0fcfccd
commit 048302f06a
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",