From https://github.com/willfarrell/docker-autoheal
commit: 3fb69019f16bd3b07a91d670046383bc43e30301

Local patches to make it 'mock'
