Support reading env vars on Podman
This commit is contained in:
parent
46e3295003
commit
19d59a18cf
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue