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 Edition Checkmk Raw (CRE)
Checkmk Version 1.6.0p15 2.0.0i1
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