From a6823c10920724d70a0833713edb9b811b610b01 Mon Sep 17 00:00:00 2001 From: Guillaume Tardif Date: Fri, 13 Nov 2020 11:50:25 +0100 Subject: [PATCH] Fix run health check doc Signed-off-by: Guillaume Tardif --- docs/aci-container-features.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/aci-container-features.md b/docs/aci-container-features.md index e40b8d4af..43f41d5a2 100644 --- a/docs/aci-container-features.md +++ b/docs/aci-container-features.md @@ -71,7 +71,7 @@ When running a container with `docker run`, by default the command line stays at ## Healthchecks -A health check can be described using the flags prefixed by `--healthcheck`. This is translated into `LivenessProbe` for ACI. If the health check fails then the container is considered unhealthy and terminated. +A health check can be described using the flags prefixed by `--health-`. This is translated into `LivenessProbe` for ACI. If the health check fails then the container is considered unhealthy and terminated. In order for the container to be restarted automatically, the container needs to be run with a restart policy (set by the `--restart` flag) other than `no`. Note that the default restart policy if one isn't set is `no`. In order to restart automatically, the container also need to have a restart policy set with `--restart` (`docker run` defaults to no restart policy)