Skip to content

Support for recent versions of runC #83

Open
@teddyking

Description

When running ctop with a recent version of runC, the following error is generated:

failed to read container: json: cannot unmarshal object into Go struct field Config.capabilities of type []string

I think this is probably because ctop is using runC version 0.1.1 (which is now over a year old). In 0.1.1 capabilities are defined as a []string whereas in newer versions they are their own separate struct.

Would it be possible to support the latest runC version? Happy to open a PR for this if yes.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions