Werk #11257: Docker contianer: Fix container detection in podman containers

Component Core & setup
Title Docker contianer: Fix container detection in podman containers
Date Jul 29, 2020
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.0.0i1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.6.0p15 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Checkmk needs to detect the execution in the container to be able to handle the site creation correctly. This failed in podman containers, because they use the "/.containerenv" file in the root filesystem instead of the "/.dockerenv".

To the list of all Werks