-
Notifications
You must be signed in to change notification settings - Fork 802
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 --output to an oci-archive isn't easy to figure out #4740
Comments
The |
Hmm. I guess I was confusing It seems these different options/formats are competing. Should we spell it out in the docs? |
A friendly reminder that this issue had no activity for 30 days. |
A friendly reminder that this issue had no activity for 30 days. |
I support @dustymabe's proposal to make the docs clearer on this issue. |
A friendly reminder that this issue had no activity for 30 days. |
A friendly reminder that this issue had no activity for 30 days. |
A friendly reminder that this issue had no activity for 30 days. |
A friendly reminder that this issue had no activity for 30 days. |
Fixes: containers#4740 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Fixes: containers#4740 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Fixes: containers#4740 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Fixes: containers#4740 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Fixes: containers#4740 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Fixes: containers#4740 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Fixes: containers#4740 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> Signed-off-by: tomsweeneyredhat <tsweeney@redhat.com>
Description
I was looking for an easy way to build and output to an oci-archive in a single step. So rather than
podman build -t
+podman push foo oci-archive:./foo.ociarchive
, I need to just do that in one step.I discovered the
--output
option, which in the man page describes:So I try:
and that fails with an obscure error (I'm in a locked down environment):
What's important here is not the failure, but the fact that podman isn't doing what I'm asking for.
I also tried with
--output type=oci,dest=./foo.ociarchive
and that didn't work either.Then @nalind told me that
--tag
supports destination format (undocumented) and that works:I think there's a few places where there is room for improvement here:
--output
.Output of
rpm -q buildah
orapt list buildah
:The text was updated successfully, but these errors were encountered: