Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-34054

bootc-image-builder does not support private registry image building

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-9.4
    • Documentation
    • sst_image_builder
    • ssg_front_door
    • None
    • False
    • Hide

      None

      Show
      None
    • Yes
    • None
    • None
    • None
    • Known Issue
    • Hide
      .`bootc-image-builder` does not support building images from private registries

      Currently, you cannot build base disk images which come from private registries by using `bootc-image-builder`. To workaround this issue, copy the private registry into your localhost, then build the image with the following arguments:

      * `--local`
      * `localhost/<image name>:tag` as the image

      For example, to build your image:
      ----
      sudo podman run \
      --rm \
      -it \
      --privileged \
      --pull=newer \
      --security-opt label=type:unconfined_t \
      -v ./config.toml:/config.toml \
      -v ./output:/output \
      -v /var/lib/containers/storage:/var/lib/containers/storage \
      registry.redhat.io/rhel9/bootc-image-builder:latest
      --type qcow2 \
      --local \
      quay.io/<namespace>/<image>:<tag>
      ----
      Show
      .`bootc-image-builder` does not support building images from private registries Currently, you cannot build base disk images which come from private registries by using `bootc-image-builder`. To workaround this issue, copy the private registry into your localhost, then build the image with the following arguments: * `--local` * `localhost/<image name>:tag` as the image For example, to build your image: ---- sudo podman run \ --rm \ -it \ --privileged \ --pull=newer \ --security-opt label=type:unconfined_t \ -v ./config.toml:/config.toml \ -v ./output:/output \ -v /var/lib/containers/storage:/var/lib/containers/storage \ registry.redhat.io/rhel9/bootc-image-builder:latest --type qcow2 \ --local \ quay.io/<namespace>/<image>:<tag> ----
    • Done
    • None

      bib should support building image which comes from private registry.

      The workaround is copy the private registry into localhost, then build this image with --local added and with localhost/<image name>:tag as image.

            elpereir@redhat.com Eliane Pereira
            xiaofwan@redhat.com Xiaofeng Wang
            RHEL Docs RHEL Docs
            RHEL Docs RHEL Docs
            Eliane Pereira Eliane Pereira
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: