You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On my system, new containers created with wkdev-create fail to start, neither using wkdev-enter, nor podman start. Looking into the scripts, I noticed that in my case throws the following error, that is not indicated even with --verbose:
Error: unable to start container "90aed7b862359f4c7dbaa708ea9ee77e2db312f09ebf59a0c2cd4db1f9a474c1": configuring timezone for container 90aed7b862359f4c7dbaa708ea9ee77e2db312f09ebf59a0c2cd4db1f9a474c1: setting timezone for container 90aed7b862359f4c7dbaa708ea9ee77e2db312f09ebf59a0c2cd4db1f9a474c1: stat /etc/zoneinfo/local: no such file or directory
This kind of error should be visible to the user in some way.
In my case, I found the root cause in podman already, and workaround it by hardcoding my timezone here:
echo ""
echo "-> Creating container '${container_name}'..."
if argsparse_is_option_set "verbose"; then
echo ""
echo " $ podman ${podman_arguments[@]} create ${podman_create_arguments[@]}"
fi
container_id=$(run_podman ${podman_arguments[@]} create ${podman_create_arguments[@]})
[ -z "${container_id}" ] && _abort_ "Container creation failed - please check the logs and report any issue"
Am I right, that in case of an error 'container_id' actually contains the error message?
We only test if container_id is unset, maybe we can examine/check if it's a container sha ID, or not?
If not, we could just dump the content of the variable and exit.
On my system, new containers created with
wkdev-create
fail to start, neither usingwkdev-enter
, norpodman start
. Looking into the scripts, I noticed that in my case throws the following error, that is not indicated even with--verbose
:Error: unable to start container "90aed7b862359f4c7dbaa708ea9ee77e2db312f09ebf59a0c2cd4db1f9a474c1": configuring timezone for container 90aed7b862359f4c7dbaa708ea9ee77e2db312f09ebf59a0c2cd4db1f9a474c1: setting timezone for container 90aed7b862359f4c7dbaa708ea9ee77e2db312f09ebf59a0c2cd4db1f9a474c1: stat /etc/zoneinfo/local: no such file or directory
This kind of error should be visible to the user in some way.
In my case, I found the root cause in podman already, and workaround it by hardcoding my timezone here:
webkit-container-sdk/scripts/host-only/wkdev-create
Lines 230 to 234 in c134c6e
The text was updated successfully, but these errors were encountered: