use shiplift::Docker; #[tokio::main] async fn main() { let docker = Docker::new(); match docker.volumes().list().await { Ok(volumes) => { for v in volumes { println!("volume -> {:#?}", v) } } Err(e) => eprintln!("Error: {}", e), } }