containers / podman-desktop-extension-bootc

Support for bootable OS containers (bootc) and generating disk images
Apache License 2.0
406 stars 14 forks source link

We should output ANY errors related to Podman Desktop into the image log file as well. #678

Closed cdrage closed 1 week ago

cdrage commented 1 month ago

Is your enhancement related to a problem? Please describe

If there is an issue with the build process BEFORE we start the container, we should link this into the image log file.

The reasoning is that users who experience issues we have to ask them to look at their console logs which may not be very accessible / issues getting them (have to go to troubleshooting then logs tab).

Instead, we should output any errors encountered during the build process into the image log file as well.

I encountered this a lot during implementing https://github.com/containers/podman-desktop-extension-bootc/issues/623 where having log output related to issues with the API would of been handy during the build process.

Describe the solution you'd like

For example:

  1. Press build button / build form
  2. Issue starting container related to Podman Desktop
  3. Output log to image log file (it was already created before hand).

Describe alternatives you've considered

No response

Additional context

No response