Skip to content

Container builds incompatible with podman #9755

Open
@gmemstr

Description

@gmemstr

What versions & operating system are you using?

wrangler 4.21.2

Please provide a link to a minimal reproduction

https://github.com/cloudflare/templates/tree/main/containers-template

Describe the Bug

When attempting to deploy a container with podman rather than Docker, it fails to build as podman does not have the --provenance flag.

It appears that the flag is set to false anyways (

), so I wonder if either that flag can be dropped (I am not sure why it's set to false in the first place), or just drop it if podman is detected.

Please provide any relevant error logs

Building image hello-containers:0d302a66
Error: unknown flag: --provenance
See 'podman build --help'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething that isn't workingcontainers

    Type

    Projects

    Status

    Untriaged

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions