Class Image
A Image resource represents a Docker image built locally which is published and made available via a remote Docker registry. This can be used to ensure that a Docker source directory from a local deployment environment is built and pushed to a cloud-hosted Docker registry as part of a Pulumi deployment, so that it can be referenced as an image input from other cloud services that reference Docker images - including Kubernetes Pods, AWS ECS Tasks, and Azure Container Instances.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Docker
Assembly: Pulumi.Docker.dll
Syntax
public class Image : ComponentResource
Constructors
View SourceImage(String, ImageArgs, ComponentResourceOptions)
Declaration
public Image(string name, ImageArgs args, ComponentResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | |
| ImageArgs | args | |
| ComponentResourceOptions | options |
Properties
View SourceBaseImageName
The base image name that was built and pushed. This does not include the id annotation, so is not pinned to the specific build performed by this Image.
Declaration
public Output<string> BaseImageName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ImageName
The unique pinned image name on the remote repository.
Declaration
public Output<string> ImageName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
RegistryServer
The server the image is located at.
Declaration
public Output<string> RegistryServer { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |