Check if the process is running inside a container.
use is_container::is_container; if is_container() { println!("Running inside a container"); }