Files
systemd/src/basic
Sergey Bugaev a4a9a6f7c6 virt: detect Docker and Podman containers
Docker doesn't set $container, so it cannot be detected that way. Instead, we
check for presence of /.dockerinit, which it creates. Podman does set
$container, but some Red Hat images (in particular, Fedora images) override
$container to equal "oci". So to correctly detect Podman containers, we check
for presence of /run/.containerenv, which is created by Podman and is now the
official way to get information about the container from within the container.

Fixes https://github.com/systemd/systemd/issues/15393
2021-02-10 22:25:04 +03:00
..
2020-11-09 13:23:58 +09:00
2020-11-09 13:23:58 +09:00
2020-11-25 09:48:17 +01:00
2021-01-15 14:29:42 +01:00
2021-01-15 14:29:42 +01:00
…
2020-11-18 11:15:05 +01:00
2020-11-09 13:23:58 +09:00
2021-02-02 01:47:08 -08:00
2021-02-02 01:47:08 -08:00
2020-11-12 14:35:06 +01:00
2020-11-09 13:23:58 +09:00
2020-11-09 13:23:58 +09:00
2020-11-09 13:23:58 +09:00