bootc-image-builder icon indicating copy to clipboard operation
bootc-image-builder copied to clipboard

--local usage was broken on latest bib build with error: unknown flag: --type

Open chunfuwen opened this issue 6 months ago • 3 comments

  1. pull bootc image:
podman pull quay.io/centos-bootc/centos-bootc:stream10

  1. 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

  1. 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

chunfuwen avatar Aug 21 '24 02:08 chunfuwen