summaryrefslogtreecommitdiffstats
path: root/examples/info.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/info.rs')
-rw-r--r--examples/info.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/info.rs b/examples/info.rs
new file mode 100644
index 0000000..85f2128
--- /dev/null
+++ b/examples/info.rs
@@ -0,0 +1,8 @@
+extern crate shiplift;
+
+use shiplift::Docker;
+
+fn main() {
+ let mut docker = Docker::new();
+ println!("info {:?}", docker.info().unwrap());
+}