Igalia / webkit-container-sdk

The all-in-one SDK for WebKit GTK/WPE port development.
MIT License
12 stars 7 forks source link

Provide a better error message if container cannot start #2

Closed pgorszkowski-igalia closed 8 months ago

pgorszkowski-igalia commented 9 months ago

It would be good to add some instruction how to debug and gather logs like: podman logs -f <name-of-wkdev-container>

pgorszkowski-igalia commented 9 months ago

It would help in case of:

-> Container 'wkdev' is not yet running. Starting it before attempting to enter...

-> The X11 localuser authorization for user 'jani' on host system is already enabled.

-> Wait for 'wkdev' to finish initialization...
   Retry 1/10 in 10 seconds...
   Retry 2/10 in 10 seconds...
   Retry 3/10 in 10 seconds...
   Retry 4/10 in 10 seconds...
   Retry 5/10 in 10 seconds...
   Retry 6/10 in 10 seconds...
   Retry 7/10 in 10 seconds...
   Retry 8/10 in 10 seconds...
   Retry 9/10 in 10 seconds...

[FATAL] Container does not start, please investigate - aborting with exit code 1.
pgorszkowski-igalia commented 8 months ago

Better message was added in https://github.com/Igalia/wkdev-sdk/commit/151f1fdf4e2b77865428a18e6a1949fae1133cf2