Compox.Docker.Services.Service (compox v0.1.0-rc2)
Represents a Docker service.
Link to this section Summary
Link to this section Types
Specs
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
: Theid
of the Docker container.container_name
: The name of the service container, defaults tonil
.reused
: Whether the container running this service was already created or running.