-
-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
This project seems to have been inactive for some time, and a small program put together using the examples from the readme doesn't work (it doesn't print anything at all).
Mac OSX Sierra, Docker for Mac v1.12.1, Scala 2.11.8, tugboat 0.2.0.
import tugboat.Event
import scala.concurrent.ExecutionContext.Implicits.global
object Main extends App {
val docker = tugboat.Docker()
docker.images.list().foreach(println)
docker.version().foreach(println)
docker.info().foreach(println)
val (stopper, completeFuture) = docker.events.stream {
case Event.Record(status, id, from, time) => println(s"container $id: $status")
case a => println(a)
}
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels