4.6 Add HEALTHCHECK instruction to the container image

Information

Add HEALTHCHECK instruction in your docker container images to perform the health check
on running containers.One of the important security triads is availability. Adding HEALTHCHECK instruction to your
container image ensures that the docker engine periodically checks the running container
instances against that instruction to ensure that the instances are still working.Based on the reported health status, the docker engine could then exit non-working
containers and instantiate new ones.

Solution

Follow Docker documentation and rebuild your container image with HEALTHCHECK
instruction.Impact-None.Default Value-By default, HEALTHCHECK is not set.
NOTE: Nessus has provided the target output to assist in reviewing the benchmark to ensure target compliance.

See Also

https://workbench.cisecurity.org/files/517

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b.

Plugin: Unix

Control ID: 5baa5662977180ff329e980f459453ace3b35b615455772ba307dcd3613478c3