mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-21 18:03:41 +03:00
basic/virt: treat "podman" as separate container type
We would detect podman as container-other. Let's assign a name to it. Inspired by https://github.com/containers/libpod/issues/2996.
This commit is contained in:
parent
342bed0208
commit
90fb1f0938
@ -62,7 +62,7 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry valign="top" morerows="11">VM</entry>
|
||||
<entry valign="top" morerows="12">VM</entry>
|
||||
<entry><varname>qemu</varname></entry>
|
||||
<entry>QEMU software virtualization, without KVM</entry>
|
||||
</row>
|
||||
@ -128,7 +128,7 @@
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry valign="top" morerows="6">Container</entry>
|
||||
<entry valign="top" morerows="7">Container</entry>
|
||||
<entry><varname>openvz</varname></entry>
|
||||
<entry>OpenVZ/Virtuozzo</entry>
|
||||
</row>
|
||||
@ -153,6 +153,11 @@
|
||||
<entry>Docker container manager</entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry><varname>podman</varname></entry>
|
||||
<entry><ulink url="https://podman.io">Podman</ulink> container manager</entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry><varname>rkt</varname></entry>
|
||||
<entry>rkt app container runtime</entry>
|
||||
|
@ -1089,6 +1089,7 @@
|
||||
<literal>lxc-libvirt</literal>,
|
||||
<literal>systemd-nspawn</literal>,
|
||||
<literal>docker</literal>,
|
||||
<literal>podman</literal>,
|
||||
<literal>rkt</literal>,
|
||||
<literal>wsl</literal>,
|
||||
<literal>acrn</literal> to test
|
||||
|
@ -436,6 +436,7 @@ int detect_container(void) {
|
||||
{ "lxc-libvirt", VIRTUALIZATION_LXC_LIBVIRT },
|
||||
{ "systemd-nspawn", VIRTUALIZATION_SYSTEMD_NSPAWN },
|
||||
{ "docker", VIRTUALIZATION_DOCKER },
|
||||
{ "podman", VIRTUALIZATION_PODMAN },
|
||||
{ "rkt", VIRTUALIZATION_RKT },
|
||||
{ "wsl", VIRTUALIZATION_WSL },
|
||||
};
|
||||
@ -655,6 +656,7 @@ static const char *const virtualization_table[_VIRTUALIZATION_MAX] = {
|
||||
[VIRTUALIZATION_LXC] = "lxc",
|
||||
[VIRTUALIZATION_OPENVZ] = "openvz",
|
||||
[VIRTUALIZATION_DOCKER] = "docker",
|
||||
[VIRTUALIZATION_PODMAN] = "podman",
|
||||
[VIRTUALIZATION_RKT] = "rkt",
|
||||
[VIRTUALIZATION_WSL] = "wsl",
|
||||
[VIRTUALIZATION_CONTAINER_OTHER] = "container-other",
|
||||
|
@ -31,6 +31,7 @@ enum {
|
||||
VIRTUALIZATION_LXC,
|
||||
VIRTUALIZATION_OPENVZ,
|
||||
VIRTUALIZATION_DOCKER,
|
||||
VIRTUALIZATION_PODMAN,
|
||||
VIRTUALIZATION_RKT,
|
||||
VIRTUALIZATION_WSL,
|
||||
VIRTUALIZATION_CONTAINER_OTHER,
|
||||
|
Loading…
x
Reference in New Issue
Block a user