ContainerStartException class

Thrown when a container cannot be started.

This typically indicates a problem at the docker run / POST /containers/{id}/start level — for example an invalid image name, an image that cannot be pulled, a port that is already bound, or insufficient Docker daemon permissions.

Example:

try {
  await container.start();
} on ContainerStartException catch (e) {
  print(e.message); // human-readable reason
}
Implemented types

Constructors

ContainerStartException(String message)
Creates a ContainerStartException with the given message.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
message String
Human-readable description of why the container could not be started.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited