Skip to content

Support shortname resolution for artifacts #406

@bitoku

Description

@bitoku

Pulling artifact doesn't support shortname resolution, which is supported for images.

❯ podman artifact pull crio/artifact:singlefile
Error: initializing source docker://crio/artifact:singlefile: reading manifest singlefile in docker.io/crio/artifact: requested access to the resource is denied

❯ podman pull crio/busybox
Trying to pull quay.io/crio/busybox:latest...
Getting image source signatures
Copying blob a3ed95caeb02 done
Copying blob f70adabe43c0 skipped: already exists
Writing manifest to image destination
8ac48589692a53a9b8c2d1ceaa6b402665aa7fe667ba51ccc03002300856d8c7

The registries.conf is

unqualified-search-registries = ["quay.io"]

The repository is available.
https://quay.io/organization/crio

version

❯ podman version
Client:       Podman Engine
Version:      5.7.0-dev
API Version:  5.7.0-dev
Go Version:   go1.25.3
Git Commit:   24872421a894f9ffde40fdc256c6886bc732b982
Built:        Mon Oct 20 16:18:46 2025
OS/Arch:      linux/amd64

container-libs version were:

	go.podman.io/common v0.65.1-0.20251016162239-c4c5e00ad22d
	go.podman.io/image/v5 v5.37.1-0.20251016133615-aa970d2c7532
	go.podman.io/storage v1.60.1-0.20251016133615-aa970d2c7532

Looking at the code, the image resolution code is implemented in common (code), so will the one for artifact be implemented in common?
Let me know if I should open an issue in c/podman repo.

Metadata

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