pub fn is_docker() -> bool
3 4 5 6 7 8 9
fn main() { if is_docker::is_docker() { println!("Currently in a Docker Container!") } else { println!("Currently NOT in Docker Container!") } }