Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restart policy #26

Open
darksidewalker opened this issue Mar 15, 2024 · 0 comments
Open

Restart policy #26

darksidewalker opened this issue Mar 15, 2024 · 0 comments

Comments

@darksidewalker
Copy link

Error:
[+] Running 0/0
⠋ Container kohya-docker-kohya-1 Creating 0.0s
Error response from daemon: invalid restart policy: maximum retry count can only be used with 'on-failure'


Add "condition: on-failure" or it will not start on Arch.

deploy:
restart_policy:
condition: on-failure
delay: 5s
max_attempts: 10
window: 120s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant