add systemd-nspawn to the list of container types

This commit is contained in:
Aaron Andersen
2025-02-02 08:58:36 -05:00
parent 74f0fcfccd
commit 048302f06a
+2 -1
View File
@@ -585,7 +585,8 @@ int in_container(void)
"lxc",
"docker",
"kubepod",
"unshare"
"unshare",
"systemd-nspawn"
};
const char *files[] = {
"/run/.containerenv",