Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not delete a container with skopeo delete #1796

Open
simenon opened this issue Oct 18, 2024 · 0 comments
Open

Can not delete a container with skopeo delete #1796

simenon opened this issue Oct 18, 2024 · 0 comments

Comments

@simenon
Copy link

simenon commented Oct 18, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Not Started
Development

No branches or pull requests

1 participant