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
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