RemoteImageArgs constructor

const RemoteImageArgs({
  1. Input<RemoteImageBuild?>? build,
  2. Input<bool?>? forceRemove,
  3. Input<bool?>? keepLocally,
  4. required Input<String> name,
  5. Input<String?>? platform,
  6. Input<List<String>?>? pullTriggers,
  7. Input<Map<String, String>?>? triggers,
})

Creates a new RemoteImageArgs. build Configuration to build an image. Requires the Use containerd for pulling and storing images option to be disabled in the Docker Host(https://github.com/kreuzwerker/terraform-provider-docker/issues/534). Please see docker build command reference too. forceRemove If true, then the image is removed forcibly when the resource is destroyed. keepLocally If true, then the Docker image won't be deleted on destroy operation. If this is false, it will delete the image from the docker local storage on destroy operation. name The name of the Docker image, including any tags or SHA256 repo digests. platform The platform to use when pulling the image. Defaults to the platform of the current machine. pullTriggers List of values which cause an image pull when changed. This is used to store the image digest from the registry when using the dockerregistryimage. triggers A map of arbitrary strings that, when changed, will force the docker.RemoteImage resource to be replaced. This can be used to rebuild an image when contents of source code folders change

Implementation

const RemoteImageArgs({
  this.build,
  this.forceRemove,
  this.keepLocally,
  required this.name,
  this.platform,
  this.pullTriggers,
  this.triggers,
});