Closed ucfchandra closed 2 months ago
Hi @ucfchandra ,
Error occurred on Push - exit status 125: Complete Podman output: Error: playing YAML file: initializing source [image]: pinging container registry localhost: Get "https://localhost/v2/": dial > tcp [::1]:443: connect: connection refused
I think this might be because of the image pull policy which is set to Always
by default on all container components. In this case, it causes Podman to try to pull the image, and Podman will use localhost
as the default search registry for relative image names.
Can you try changing the image pull policy of your announcements
container component to IfNotPresent
or Never
. See https://odo.dev/docs/troubleshooting#recommended-solution-5 or https://odo.dev/docs/troubleshooting#the-image-pull-policy-of-the-dev-container-is-always-and-i-cannot-change-it
Please Let me know if that fixes the issue. Thanks.
That fixes the issue, thank you!
/kind bug
What versions of software are you using?
Operating System:
Mac (not M1)
Output of
odo version
:How did you run odo exactly?
ODO_PUSH_IMAGES=false odo dev --platform=podman
Actual behavior
Expected behavior
Running Django container
Any logs, error output, etc?
Podman machine is initialized, started, and running, so that is not the issue. Might be an issue with my devfile. Attached below.
Thank you :)