Container class

A Docker container.

Constructors

Container({List<String>? args, List<String>? command, Map<String, String>? env, String? image, int? runAsUser, String? workingDir})
Container.fromJson(Map json_)

Properties

args List<String>?
Arguments passed to the entrypoint.
getter/setter pair
command List<String>?
If set, overrides the default ENTRYPOINT specified by the image.
getter/setter pair
env Map<String, String>?
Environment variables passed to the container's entrypoint.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
image String?
A Docker container image that defines a custom environment.
getter/setter pair
runAsUser int?
If set, overrides the USER specified in the image with the given uid.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
workingDir String?
If set, overrides the default DIR specified by the image.
getter/setter pair

Methods

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

Operators

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