Docker.Commands.Logs (docker_wrapper v0.1.2)

Copy Markdown View Source

Implements the Docker.Command behaviour for docker logs.

Examples

import Docker.Commands.Logs

"my-container"
|> new()
|> tail(100)
|> timestamps()
|> Docker.logs()

Summary

Types

t()

@type t() :: %Docker.Commands.Logs{
  container: String.t(),
  details: boolean(),
  follow: boolean(),
  since: String.t() | nil,
  tail: String.t() | nil,
  timestamps: boolean(),
  until_time: String.t() | nil
}

Functions

details(cmd)

follow(cmd)

new(container)

since(cmd, s)

tail(cmd, n)

timestamps(cmd)

until_time(cmd, u)