Werk #14801: Improve detection when OMD runs in a container
Komponente | Site management |
Titel | Improve detection when OMD runs in a container |
Datum | 02.09.2022 |
Checkmk-Edition | Checkmk Raw (CRE) |
Checkmk-Version | 2.2.0b1 2.1.0p12 |
Level | Kleine Änderung |
Klasse | Bugfix |
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen |
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.