Werk #14801: Improve detection when OMD runs in a container
Component | Site management | ||||
Title | Improve detection when OMD runs in a container | ||||
Date | Sep 2, 2022 | ||||
Level | Trivial Change | ||||
Class | Bug Fix | ||||
Compatibility | Compatible - no manual interaction needed | ||||
Checkmk versions & editions |
|
Only for docker and podman we could reliably detect if OMD is running in a container. The official docker image now sets a CMK_CONTAINERIZED=TRUE environment variable that is checked in omd. This works independent of the container runtime used.