Skip to content

Is this deprecated now? #22

Description

@NotBobTheBuilder

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)
  }

}

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions