Skip to content

Restart policy #26

@darksidewalker

Description

@darksidewalker

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions