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

generate-iso is failing - unknown flag --format #352

Closed
git-Contributor opened this issue Feb 5, 2025 · 3 comments · Fixed by #353
Closed

generate-iso is failing - unknown flag --format #352

git-Contributor opened this issue Feb 5, 2025 · 3 comments · Fixed by #353

Comments

@git-Contributor
Copy link

I have issue generating ISO on my host machine (Manjaro) using bluebuild cli (same issue with 0.9.3 and 0.9.6).
When using bluebuild from VM via custom blue build image, it works as expected (so the recipe is ok).

Not sure if it is issue with bluebuild cli or docker one.

The error (-vv output.log:


[output.log](https://github.com/user-attachments/files/18674474/output.log)

╰─ sudo bluebuild generate-iso --iso-name weird-os.iso recipe recipes/recipe.yml                                                                                                                                                                                                    
INFO  => Recipe recipes/recipe.yml is valid
INFO  => Templating for recipe at recipes/recipe.yml
INFO  => Retrieving OS version from ghcr.io/ublue-os/aurora-dx-nvidia-open:latest
WARN  => Unable to get version via image inspection due to error:
  × unknown flag: --format
  │ See 'docker --help'.
  │ 
  │ Usage:  docker [OPTIONS] COMMAND
  │ 
  │ A self-sufficient runtime for containers

... rest of docker man page ...

WARN  => Pulling and running the image to retrieve the version. This will take a while...
ERROR => Failed:
  × Failed to list images

╰─ sudo bluebuild -V                                                                                                                                                                                                                                                                
BlueBuild 0.9.6
╰─ sudo docker -v                                                                                                                                                                                                                                                                                    
Docker version 27.3.1, build ce1223035a

@gmpinder
Copy link
Member

gmpinder commented Feb 5, 2025

Ok, looks like the error is around docker buildx. I'll have to add an extra check to make sure that is available before trying to run builds with docker.

@gmpinder gmpinder linked a pull request Feb 6, 2025 that will close this issue
@gmpinder
Copy link
Member

I released 0.9.7 with a fix for this. Let me know if this is fixed for you

@git-Contributor
Copy link
Author

Tested with version 0.9.8. It fixed it...it now stops right at the start with the info that I am missing buildx :) my bad, did not realized/know I need that. After installing buildx with docker it works flawlessly. Thanks!

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

Successfully merging a pull request may close this issue.

2 participants