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
Runc and crun will go different error message when delete a non-existent container, such as:
runc got container <container-id> does not exist
crun got error opening file 'container-status': No such file or directory\n: unknown"
But containerd and shim will identify these errors by error message. Some runc error can be recognized and handle correctly, but crun can't.
We already have a lot runtime tools, and containerd-shim-v2 can be used with any runtime tools. Should error messages of them be standardized?
The text was updated successfully, but these errors were encountered:
payall4u
changed the title
Some questions about error handling on runc
Some questions about error handling on runc, crun or other runtime
Aug 5, 2020
Runc and crun will go different error message when delete a non-existent container, such as:
runc got
container <container-id> does not exist
crun got
error opening file 'container-status': No such file or directory\n: unknown"
But containerd and shim will identify these errors by error message. Some runc error can be recognized and handle correctly, but crun can't.
We already have a lot runtime tools, and containerd-shim-v2 can be used with any runtime tools. Should error messages of them be standardized?
The text was updated successfully, but these errors were encountered: