But because the Helm Chart I'm creating will run on different systems I can't know before hand it the runtime will be docker (so it will be recognized) or other runtimes. Can we have an env or a --flag to override this and set a data dir or at least the app think that is running in a container?
Hello, running in
Kuberenetes
withcontainerd
the below function does not recognize thatis_docker
. Resulting in a different data directory.https://github.com/RemiRigal/Plex-Auto-Languages/blob/1d3cd66620e40dd7fe5074439275e81ec792fae6/plex_auto_languages/utils/configuration.py#L37-L58
But because the Helm Chart I'm creating will run on different systems I can't know before hand it the runtime will be
docker
(so it will be recognized) or other runtimes. Can we have anenv
or a--flag
to override this and set a data dir or at least the app think that is running in a container?Thanks