Skip to content

Difference between the events command in runc and youki #3206

@saku3

Description

@saku3

Part of Enhancing Compatibility with runc

There are differences between the events command in runc and youki.

Please refer to the following:
https://github.com/opencontainers/runc/blob/main/man/runc-events.8.md

In runc, options like --interval 1s or --interval 100ms are supported:

runc events testcon --interval 1s

{"type":"stats","id":"testcon","data": ... }

However, in Youki, the --interval argument currently expects a digit-only value:

$ youki events testcon --interval 1s
error: invalid value '1s' for '--interval <INTERVAL>': invalid digit found in string

For more information, try '--help'.

This behavior differs from runc and should be addressed for compatibility.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions