Skip to content

Instantly share code, notes, and snippets.

View pratapaprasanna's full-sized avatar

Goutham Pratapa pratapaprasanna

View GitHub Profile

Context

This script has to be present on the host where docker containers goes unhealthy intermittently.

Pre-requisite

sudo apt update -y ;
sudo apt install -y jq

Script that can restart unhealthy container