Bsdkrun.Types.DockerContainer (bsdkrun_ex v0.5.0)

Copy Markdown View Source

A container in the Docker engine VM — a trimmed docker ps row.

Summary

Functions

Whether the container is up.

Types

t()

@type t() :: %Bsdkrun.Types.DockerContainer{
  command: String.t(),
  created: integer(),
  id: String.t(),
  image: String.t(),
  name: String.t(),
  ports: [String.t()],
  state: String.t(),
  status: String.t()
}

Functions

running?(docker_container)

@spec running?(t()) :: boolean()

Whether the container is up.