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
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