Hi,
I use docker-php for a while, and fall into a use case:
If your service failed to be schedule on a host (lack of memory for example), the task is marked as rejected, swarm reschedule service on another host, and the service finally starts
docker-php handle that by a failure
I think it should wait timeout before mark the service as failed
WDYT ?