NAME

API::Docker::Type::Limit - An object describing a limit on resources which can be requested by a task

VERSION

version 0.004

DESCRIPTION

Generated from the Limit definition of spec/v1.51.yaml.

nano_cpus

Undocumented upstream. A CPU quota in units of 10^-9 CPUs, which is how the swagger describes the same measure under "nano_cpus" in API::Docker::Type::Resources. The example 4000000000 is four whole CPUs. Serialised as NanoCPUs -- spelled out, because deriving it from the Perl name would produce NanoCpus.

memory_bytes

Undocumented upstream. A memory limit in bytes, the measure the swagger describes under "memory" in API::Docker::Type::Resources. The example 8272408576 is roughly 7.7 GiB.

pids

Limits the maximum number of PIDs in the container. Set 0 for unlimited. The daemon defaults it to 0.

SUPPORT

Issues

Please report bugs and feature requests on GitHub at https://github.com/Getty/p5-api-docker/issues.

CONTRIBUTING

Contributions are welcome! Please fork the repository and submit a pull request.

AUTHOR

Torsten Raudssus <getty@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2026 by Torsten Raudssus <torsten@raudssus.de> https://raudssus.de/.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.