NAME
API::Docker::Type::TaskSpec::RestartPolicy - Specification for the restart policy which applies to containers created as part of this service
VERSION
version 0.004
DESCRIPTION
Generated from the inline RestartPolicy schema of the TaskSpec definition in spec/v1.51.yaml.
condition
Condition for restart. The swagger enumerates none, on-failure and any.
delay
Delay between restart attempts.
max_attempts
Maximum attempts to restart a given container before giving up (default value is 0, which is ignored).
window
Windows is the time window used to evaluate the restart policy (default value is 0, which is unbounded).
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.