Skip to content

Images can't be sourced from local docker engine #650

@atrauzzi

Description

@atrauzzi

Describe what happened

When I try to source an image that already exists in my local engine, it's not found.

Sample program

    var apiImage = new Image("api", new()
    {       
        // sidenote: It's also a bit gross that I have to do this...
        Dockerfile = new DockerfileArgs
        {
            Inline = "FROM api",
        },
        Pull = false,
        Push = true,
        Tags = [
            infrastructure.Outputs.Apply((infrastructureApply) => infrastructureApply["apiRegistryUrl"] as string ?? throw new("Missing API registry URL!")),
        ],
    });

Log output

No response

Affected Resource(s)

No response

Output of pulumi about

CLI          
Version      3.193.0
Go Version   go1.25.1
Go Compiler  gc

Host     
OS       fedora
Version  42
Arch     x86_64

Dependencies:
NAME               VERSION
Pulumi             3.91.0
Pulumi.Aws         7.10.0
Pulumi.Awsx        3.0.1
Pulumi.Kubernetes  4.23.0

Additional context

When I'm using Image, I expect to be able to source an image that's already been built from the local engine, retag it and upload it.

Contributing

Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/questionQuestions about existing features

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions