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
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.0.0i1 1.6.0p15
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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