use moby::Docker; #[tokio::main] async fn main() { let docker = Docker::new("tcp://127.0.0.1:80").unwrap(); match docker.info().await { Ok(info) => println!("info {:?}", info), Err(e) => eprintln!("Error: {}", e), } }