Skip to content

Is this deprecated now? #22

@NotBobTheBuilder

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

}

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