This commit is contained in:
Robin 2024-10-24 11:59:31 +02:00 committed by GitHub
commit b0a68aa3e7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -57,7 +57,7 @@ def _read_config() -> Dict:
logger.warning(
"'config.yaml' should be a file, not a directory, skipping"
)
if os.path.exists("/.dockerenv"):
if os.path.exists("/.dockerenv") or os.path.exists("/run/.containerenv"):
ret = _merge(ret, _docker_config())
return ret