Container class

Container runnable.

Constructors

Container.new({bool? blockExternalNetwork, List<String>? commands, bool? enableImageStreaming, String? entrypoint, String? imageUri, String? options, String? password, String? username, List<String>? volumes})
Container.fromJson(Map json_)

Properties

blockExternalNetwork bool?
If set to true, external network access to and from container will be blocked, containers that are with block_external_network as true can still communicate with each other, network cannot be specified in the container.options field.
getter/setter pair
commands List<String>?
Required for some container images.
getter/setter pair
enableImageStreaming bool?
If set to true, this container runnable uses Image streaming.
getter/setter pair
entrypoint String?
Required for some container images.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
imageUri String?
The URI to pull the container image from.
getter/setter pair
options String?
Required for some container images.
getter/setter pair
password String?
Required if the container image is from a private Docker registry.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
username String?
Required if the container image is from a private Docker registry.
getter/setter pair
volumes List<String>?
Volumes to mount (bind mount) from the host machine files or directories into the container, formatted to match --volume option for the docker run command—for example, /foo:/bar or /foo:/bar:ro.
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