NAME
API::Docker::Type::RestartPolicy - The behavior to apply when the container exits
VERSION
version 0.004
DESCRIPTION
Generated from the RestartPolicy definition of spec/v1.51.yaml.
The default is not to restart.
An ever increasing delay (double the previous delay, starting at 100ms) is added before each restart to prevent flooding the server.
name
Empty string means not to restart
noDo not automatically restartalwaysAlways restartunless-stoppedRestart always except when the user has manually stopped the containeron-failureRestart only when the container exit code is non-zero
maximum_retry_count
If on-failure is used, the number of times to retry before giving up.
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.