Keep restarting if set 'RestartPolicy' to 'always'

Issue #3 closed
Former user created an issue

The ldap docker instance keep restarting if 'RestartPolicy' to 'always'.

If the policy is 'False', then the docker instance behaves normally.

Comments (2)

  1. Michal Belica repo owner

    You did not provide much info on what you're trying to do.

    From what I could guess, by the RestartPolicy parameter, you're not running plain docker, but Kubernetes or some other form of orchestration. Did you set some liveness probes? If so, please keep in mind that the container does some initialization upon a fresh start, so set your timeouts accordingly.

    If that doesn't help, I'd need more info. Please provide a command how you're staring the container, or it's definition, and logs from the failed container.

  2. Log in to comment