summaryrefslogtreecommitdiffstats
path: root/examples/imagepull.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/imagepull.rs')
-rw-r--r--examples/imagepull.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/imagepull.rs b/examples/imagepull.rs
index a9c5b36..84a6149 100644
--- a/examples/imagepull.rs
+++ b/examples/imagepull.rs
@@ -1,8 +1,11 @@
+// cargo run --example imagepull busybox
+
use shiplift::{Docker, PullOptions};
use std::env;
use tokio::prelude::{Future, Stream};
fn main() {
+ env_logger::init();
let docker = Docker::new();
let img = env::args()
.nth(1)