diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2014-10-26 12:05:08 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2014-10-26 12:05:08 -0400 |
commit | 0b786cdba28e6f0db7a86077a77fa3a06fcc3bf9 (patch) | |
tree | c4a06fa9410723bf5b445ddab427eebac95ae258 /src/shared/virt.c | |
parent | 1279a751a046db2b8c001a11e3a4ad3359d33533 (diff) |
src/shared/virt.c: add docker to container namespace
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/shared/virt.c')
-rw-r--r-- | src/shared/virt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/virt.c b/src/shared/virt.c index 4b1e8c62e0..96b3f5671f 100644 --- a/src/shared/virt.c +++ b/src/shared/virt.c @@ -86,6 +86,8 @@ int detect_container(const char **id) { _id = "lxc-libvirt"; else if (streq(e, "systemd-nspawn")) _id = "systemd-nspawn"; + else if (streq(e, "docker")) + _id = "docker"; else _id = "other"; |