Skip to content

Can not delete a container with skopeo delete #1796

Description

@simenon

Version
pulp core 3.62.0
pulp container 2.21.0

Describe the bug
Given a namespace for a registry and a user with the role container.containernamespace_collaborator on that namespace.

The user can do a podman login followed by a podman push of the container.

However if the user wants to delete the pushed image from the remote with skopeo login followed by a skopeo delete it is not allowed.

The user is confronted with one of the following error messages:
FATA[0001] deleting requested access to the resource is denied
FATA[0002] deleting unsupported: Method "DELETE" not allowed.

To Reproduce
Steps to reproduce the behavior:
podman login to registry
podman push an image
skopeo login to registry
skopeo delete the image

Expected behavior
skopeo delete can delete pushed images. Provided the user has appropriate permissions

Additional context
Not sure if this is a duplicate of #480

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions