Skip to content

How to set rlimit value to unlimited in config.json? #1283

@Naitreey

Description

@Naitreey

OCI spec defines the hard/soft value of resource limits to be of type unit64. But how to set RLIM_INFINITY?

I've tried -1 and 0. The former obviously caused the invalid value error

json: cannot unmarshal number -1 into Go value of type uint64

and the latter caused error

error setting rlimit type 7: invalid argument

Metadata

Metadata

Assignees

No one assigned

    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