osbuild / bootc-image-builder

A container for deploying bootable container images.
https://osbuild.org
Apache License 2.0
126 stars 54 forks source link

README example broken #682

Open MoralCode opened 1 week ago

MoralCode commented 1 week ago

attempting to run the example in https://github.com/osbuild/bootc-image-builder?tab=readme-ov-file#-examples fails with a very generic Error: repository name must be lowercase.

There are no uppercase characters I can see in that command:

sudo podman pull quay.io/centos-bootc/centos-bootc:stream9
sudo podman run \
    --rm \
    -it \
    --privileged \
    --pull=newer \
    --security-opt label=type:unconfined_t \
    -v $(pwd)/config.toml:/config.toml:ro \
    -v $(pwd)/output:/output \
    -v /var/lib/containers/storage:/var/lib/containers/storage \
    quay.io/centos-bootc/bootc-image-builder:latest \
    --type qcow2 \
    --local \
    quay.io/centos-bootc/centos-bootc:stream9

The image pulls just fine and then the main command fails.

System:

MoralCode commented 1 week ago

Possible contributing factors:

achilleas-k commented 1 day ago

attempting to run the example in https://github.com/osbuild/bootc-image-builder?tab=readme-ov-file#-examples fails with a very generic Error: repository name must be lowercase.

Can you paste the full output? This isn't an error from bootc-image-builder (or any part of osbuild/images or osbuild afaict), so it's probably from one of the underlying tools.