-
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 build Error: unknown flag: --tagg #24876
Comments
There is an "L" missing. It's |
Seems like more of a bug in cobra It must be treating buid as something other then a command when you add options, and processing the options on the higher level command.
|
Alright, that makes sense. Closing it since it was no bug. |
I was surprised about the behavior as well. @Luap99 is a Cobra expert: Do you know why Cobra is behaving like that? |
That is a known problem, I have looked at it before #13082 but I don't think this is something that we can fix in podman. |
Issue Description
While trying to run a build command with the
--tag
or-t
flag, I receive aError: unknown flag: --tagg
Steps to reproduce the issue
Steps to reproduce the issue
podman image buid -t <tag> .
orpodman buid -t <tag> .
Describe the results you received
Describe the results you expected
The start of image build process
podman info output
Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
Yes
Additional environment details
macOS sequoia 15.1.1 Intel
Additional information
The Dockerfile:
The text was updated successfully, but these errors were encountered: