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
crictl images can not find local image loaded by podman #474
Comments
@vanloswang, I suspect that |
@vrothberg I checked it, The images are loaded by |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
I have the same problem at the latest CRC environment:
what I did is:
|
This looks like a configuration issue to me, please verify that:
|
$ podman images
REPOSITORY TAG IMAGE ID CREATED SIZE
localhost/visitors-operator 1.2.3 20d5071e2c89 24 hours ago 150 MB
$ sudo ls -l /var/lib/containers/storage/overlay | grep 20d5071e2c89 still doesn't find it. |
Hm, the image should be referenced by its ID in
should show up the image as well. What is the output of?
|
podman inspect localhost/visitors-operator:1.2.3 | jq '.[].GraphDriver' {
"Name": "overlay",
"Data": {
"LowerDir": "/var/home/core/.local/share/containers/storage/overlay/86b228726a309dc9a9f27d00974b63fac95cc29e960b8c2ea9e8d6750541fcf7/diff:/var/home/core/.local/share/containers/storage/overlay/5e8f5812933896ec06f9f14a68bc8e3c7b14910784718601d8487221f0c62883/diff:/var/home/core/.local/share/containers/storage/overlay/87e0124d5f516dfd4f96cb5e688a30def692523669f887ff889bb602aea552cd/diff:/var/home/core/.local/share/containers/storage/overlay/b6645727229cf3a8a5b06e339e1c58c9cea1f0e3c633f2532e1a3817d0a9f886/diff",
"UpperDir": "/var/home/core/.local/share/containers/storage/overlay/d667d542c467137903a38dca364be7fe896ab630b1ed8866d326ca29a871a4e8/diff",
"WorkDir": "/var/home/core/.local/share/containers/storage/overlay/d667d542c467137903a38dca364be7fe896ab630b1ed8866d326ca29a871a4e8/work"
}
} it seems that podman loaded the image at |
Yep you have to run podman as root, otherwise it will choose the local storage :) |
Indeed, it now works:
|
Awesome! 👍 And here you get "Sascha's tip of the day": You can load the image via
too! 😇 |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Just take a look at the following commands and the result:
crictl images will not find local image without the prefix of 'localhost/', then it will make k8s always try to pull image to start a pod, but the image is locally.
My OS is CentOS 7.5, and cri utils infomations are as following:
The text was updated successfully, but these errors were encountered: