rw_resource_util::runtime

Function is_running_in_container

source
fn is_running_in_container() -> bool
Expand description

checks if is running in a docker container by checking for docker env file, or if it is running in a kubernetes pod.