-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
podman version 5.1.1 fail to remove image: tag not known #23315
Comments
The jiazha-mac:test jiazha$ podman images
REPOSITORY TAG IMAGE ID CREATED SIZE
<none> <none> c554891cf5ef 15 minutes ago 875 MB
quay.io/openshifttest/etcd-index 33450 c7714389537d 15 minutes ago 1.94 kB
<none> <none> 61849e3068d0 16 minutes ago 656 MB
<none> <none> 0e677047f1e8 16 minutes ago 724 MB
<none> <none> f55631f76979 18 minutes ago 671 MB
registry.redhat.io/openshift4/ose-operator-registry-rhel9 v4.16 a3ebe997b487 7 days ago 875 MB
jiazha-mac:test jiazha$ podman rmi c7714389537d
Error: localhost/c7714389537d:latest: tag not known |
Workaround jiazha-mac:test jiazha$ podman rmi -f $(podman images -aq)
Untagged: registry.redhat.io/openshift4/ose-operator-registry-rhel9:v4.16
Deleted: c554891cf5ef05493422d501ac3abc1351113f7124e2098ded13e34831310f62
Deleted: a8c7710b47af317f339cafc5428141bc468766e05ee65c850054b62ca178c45d
Deleted: 865c15d00c5b5c5ec2886f99e8897a7512cfe761d2beb6beee1bb9f9d6d1d18a
Deleted: f525425e99f0c840bad000545ed95d22b104a5e60bcdc3770457035798fefdc6
Deleted: 5d6d0b514e1228d0ea5da177c2e743642ee659f8887f5f662d79b8071119452a
Deleted: f55631f76979fbe1c9620b82799a9becba13b0303831eeb988b482390e109b9d
Deleted: 631dbed4edffce6d2f47732f470e065348b052f5f565297f6b21ad41df8e2580
Deleted: f90abb5452dc1783a4ddccf1086f0e377df0eaedeb9cba5077d241fb682dd517
Deleted: 5689dd6f34190390074864a2b695658275f9cd0c916ad631933cc6e6be1bcd1d
Deleted: 351ab534851782a30429a20bcf4dafb518ecba584d2b37f24546c24f0a1e8570
Deleted: 5c8a67e9aa294aaeeced194f2eb1524b8ca98df5cdc427600d96c55fb42c65de
Deleted: 61849e3068d0d6a73cec787bdda717a126f0e5dd35c1eee8af53c3c2c3242995
Deleted: ec7b6de0c27c43dbc26f1c3c2cfd0a0c57911c1c64dbeaa337714bdd02debd48
Deleted: 176d69d45be66a1ed7054c926f238d51fb43228b2f08762c75a0cc6f4fa74819
Deleted: d0f2ef0b65f8496e6218b381f6817e2ef47ee602ac3d371eef224ca1415c7049
Deleted: 1ff72206a7664452bd307366544bad80f3c282dbfd1c5808dd7f4904171db3f3
Deleted: 1ead768b23411e23d1aeff5892330f730446658c437ba48d67b8763f5641c778
Deleted: 6b9e9d264500f86514fc0bbc66ef6f2e79b8d0f142897846398c4c0b3b5d2935
Deleted: 6997cb3a8a0970823cff0e6495aeb366d3d649a28c747ef1c5e6602ce27ea593
Deleted: e901ddf2381af0e4e6233005942953e77dea5fa9bc5b3991d0507e1dcedbd73b
Deleted: d534a6e7ba1e414c6202c99ae16ec58d455e35384082840a0c72369a1f93f44e
Deleted: 0e677047f1e81841f44ec37b3b95f307d62db7b24b503cf47343e24a08068648
Deleted: a3ebe997b4872563dcbc1328337a7d3dac4bb8e9f9ea5f74010b1da02721c71f
Error: localhost/c7714389537d:latest: tag not known
jiazha-mac:test jiazha$ podman images
REPOSITORY TAG IMAGE ID CREATED SIZE
quay.io/openshifttest/etcd-index 33450 c7714389537d 21 minutes ago 1.94 kB
jiazha-mac:test jiazha$ podman rmi --force c7714389537d
Untagged: quay.io/openshifttest/etcd-index:33450
Deleted: c7714389537d660fce224f59a71838ff141d690e06313a4dbef2913afe9f7daf
jiazha-mac:test jiazha$ podman images
REPOSITORY TAG IMAGE ID CREATED SIZE |
I can not get this to happen on my podman machine. |
Seems i can't meet this issue with podman 5.1.1 in macOS.
So, do i miss something? |
Hi, I guess I find the reason that the jiazha-mac:test jiazha$ podman manifest create quay.io/openshifttest/etcd-index:33450
0a29bba0b8d9f9487e01e40ebb779dd556bbb3afd7abe23e3a103d1cbc88f0a7
jiazha-mac:test jiazha$ podman build --platform linux/amd64,linux/arm64,linux/ppc64le,linux/s390x --manifest quay.io/openshifttest/etcd-index:33450 -f catalog.Dockerfile
[linux/s390x] STEP 1/6: FROM registry.redhat.io/openshift4/ose-operator-registry-rhel9:v4.16
Trying to pull registry.redhat.io/openshift4/ose-operator-registry-rhel9:v4.16...
Getting image source signatures
Checking if image destination supports signatures
...
As we can see, its size is small.
jiazha-mac:test jiazha$ podman images
REPOSITORY TAG IMAGE ID CREATED SIZE
quay.io/openshifttest/etcd-index 33450 0a29bba0b8d9 37 seconds ago 1.94 kB
...
jiazha-mac:test jiazha$ podman rmi quay.io/openshifttest/etcd-index:33450
Error: quay.io/openshifttest/etcd-index:33450: tag not known I'm not sure why list the manifest in the output of the jiazha-mac:test jiazha$ podman manifest rm quay.io/openshifttest/etcd-index:33450
Untagged: quay.io/openshifttest/etcd-index:33450
Deleted: 0a29bba0b8d9f9487e01e40ebb779dd556bbb3afd7abe23e3a103d1cbc88f0a7
jiazha-mac:test jiazha$ podman images
REPOSITORY TAG IMAGE ID CREATED SIZE
... And, I couldn't find a command to list all manifests. jiazha-mac:test jiazha$ podman manifest
Manipulate manifest lists and image indexes
Description:
Creates, modifies, and pushes manifest lists and image indexes.
Usage:
podman manifest [command]
Examples:
podman manifest add mylist:v1.11 image:v1.11-amd64
podman manifest create localhost/list
podman manifest inspect localhost/list
podman manifest annotate --annotation left=right mylist:v1.11 sha256:15352d97781ffdf357bf3459c037be3efac4133dc9070c2dce7eca7c05c3e736
podman manifest push mylist:v1.11 docker://quay.io/myuser/image:v1.11
podman manifest remove mylist:v1.11 sha256:15352d97781ffdf357bf3459c037be3efac4133dc9070c2dce7eca7c05c3e736
podman manifest rm mylist:v1.11
Available Commands:
add Add images or artifacts to a manifest list or image index
annotate Add or update information about an entry in a manifest list or image index
create Create manifest list or image index
exists Check if a manifest list exists in local storage
inspect Display the contents of a manifest list or image index
push Push a manifest list or image index to a registry
remove Remove an entry from a manifest list or image index
rm Remove manifest list or image index from local storage |
A friendly reminder that this issue had no activity for 30 days. |
Issue Description
podman version 5.1.1 fail to remove image: tag not known
But, podman 4.9.4 works well.
Steps to reproduce the issue
Steps to reproduce the issue
Describe the results you received
Describe the results you received
Describe the results you expected
podman rmi can remove the tag image.
podman info output
Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
Yes
Additional environment details
Additional environment details
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting
The text was updated successfully, but these errors were encountered: