-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
generate kube should use tag #7838
Comments
@ashley-cui PTAL |
Tried this with podman master and it works fine for me. I created a pod with a fedora container running in it and was able to
Snippet of the pod yaml file generated shows the image has the
@langdon is there a specific image you were using that for some reason was not being pulled? I will try out the podman version you stated in your description as well. |
so, I think i discovered that this only happens if it is a container you built yourself. |
A friendly reminder that this issue had no activity for 30 days. |
@langdon Can we close this issue, or do you believe it is something we need to fix? |
It's a UX thing, and kinda minor, but I still think it's a barrier to adoption |
@umohnani8 PTAL |
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
When you use
podman generate kube
you expect to be able to run the result immediately. However, possibly depending on how you created the pod, you generate a yaml file that uses:latest
for the tag. If you turn around and try toplay kube
that file, it fails trying to pull container images that the user has because it can't pull something with a:latest
tag.generate kube
should create yaml that is immediately runnable. To top it off, there is no indication of the issue being the tag unless you search and find #5186Steps to reproduce the issue:
Describe the results you received:
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
To make matters a bit more annoying, it does, in fact, create the pod with no UUID in the output or any indication it did so. Which, in order to do further testing/debugging, you have to manually remove.
Output of
podman version
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide?
Yes
Additional environment details (AWS, VirtualBox, physical, etc.):
The text was updated successfully, but these errors were encountered: