bootc-image-builder
bootc-image-builder copied to clipboard
--local usage was broken on latest bib build with error: unknown flag: --type
- pull bootc image:
podman pull quay.io/centos-bootc/centos-bootc:stream10
- run bib command to build qcow image:
sudo podman run --rm -it --privileged --pull=newer --security-opt label=type:unconfined_t -v /var/lib/libvirt/images/output:/output -v /var/lib/containers/storage:/var/lib/containers/storage -v /var/lib/libvirt/images/auth.json:/run/containers/0/auth.json quay.io/centos-bootc/bootc-image-builder:latest --type qcow2 --tls-verify=true --local quay.io/centos-bootc/centos-bootc:stream10
- Actually it throw below error message:
sudo podman run --rm -it --privileged --pull=newer --security-opt label=type:unconfined_t -v /var/lib/libvirt/images/output:/output -v /var/lib/containers/storage:/var/lib/containers/storage -v /var/lib/libvirt/images/auth.json:/run/containers/0/auth.json quay.io/centos-bootc/bootc-image-builder:latest --type qcow2 --tls-verify=true --local quay.io/centos-bootc/centos-bootc:stream10
Usage:
bootc-image-builder [command]
Available Commands:
build
completion Generate the autocompletion script for the specified shell
help Help about any command
manifest
Flags:
-h, --help help for bootc-image-builder
--log-level string logging level (debug, info, error); default error
Use "bootc-image-builder [command] --help" for more information about a command.
2024/08/21 02:09:35 error: unknown flag: --type