Skip to content
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 run has no --type parameter #735

Closed
dilyanpalauzov opened this issue Nov 29, 2024 · 3 comments
Closed

podman run has no --type parameter #735

dilyanpalauzov opened this issue Nov 29, 2024 · 3 comments

Comments

@dilyanpalauzov
Copy link

dilyanpalauzov commented Nov 29, 2024

The example from README.md contains

sudo podman run … --type qcow2 --local quay.io/centos-bootc/centos-bootc:stream9

The documentation for podman run at https://docs.podman.io/en/latest/markdown/podman-run.1.html does not mention the --type and --local parameters.

@ondrejbudai
Copy link
Member

These are arguments for bootc-image-builder, not for podman, they are specified after the image reference in the podman run command. Have you actually encountered an issue with the command?

@ondrejbudai ondrejbudai closed this as not planned Won't fix, can't repro, duplicate, stale Nov 29, 2024
@dilyanpalauzov
Copy link
Author

Yes, you are right that the parameters are to the image, not to podman run. I have not encountered problems with the command.

Where do I find information about the --local parameter?

@ondrejbudai
Copy link
Member

ugh, it's not very well documented at the moment. The --local flag tells bootc-image-builder to use bootable container images from a local containers storage (mounted inside bootc-image-builder via -v /var/lib/containers/storage:/var/lib/containers/storage. This the recommended way to use bootc-image-builder. We even make it the default in #423.

If you don't specify --local, bootc-image-builder pulls the bootable container image itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants