Skip to content

Unable to run func run - ERROR: failed to export #2561

Open
@daniwk

Description

I'm trying to follow the quickstart, but can't get any longer than "Building, running or deploying a function".

After I've created a function, the func run command fails. The --verbose flag yields the following logs:

Timer: Saving docker.io/{docker-username}... ran for 19.397334ms and ended at 2024-11-03T18:47:15Z
Timer: Exporter ran for 4.317147961s and ended at 2024-11-03T18:47:15Z
ERROR: failed to export: saving image: failed to fetch base layers: open /tmp/imgutil.local.image.342586074/blobs/sha256/ae6a328f29da50c499acac265e2db256c9e2e2998cf74e0a7972239755dfb667: no such file or directory

I get the same error with both the python (kn func create -l python hello) and go function (kn func create -l go hello).
I'm using a MacBook Pro M1 Pro with MacOS 15.1.

Do you have any tips on solving this issue?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions