Report number of times that docker has auto-restarted a container

Fixes #9469.

Signed-off-by: Rémy Greinhofer <remy.greinhofer@livelovely.com>