Compox.Docker.Services.Service (compox v0.1.1)

Represents a Docker service.

Summary

Types

t()

A internal representation of a Docker service present in a docker-compose file

Types

t()

@type t() :: %Compox.Docker.Services.Service{
  container_id: String.t(),
  container_name: String.t(),
  image: String.t(),
  name: String.t(),
  reused: boolean()
}

A internal representation of a Docker service present in a docker-compose file:

  • name: The name of the Docker service.
  • image: The Docker image used by the service.
  • container_id: The id of the Docker container.
  • container_name: The name of the service container, defaults to nil.
  • reused: Whether the container running this service was already created or running.