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