Skip to content

Instantly share code, notes, and snippets.

@namp10010
Created September 20, 2022 06:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save namp10010/c35c177621251410517dbdf305c626d0 to your computer and use it in GitHub Desktop.
Save namp10010/c35c177621251410517dbdf305c626d0 to your computer and use it in GitHub Desktop.
check docker compose healthcheck status and output
#!/bin/bash
# checking docker healthcheck status and output
docker inspect --format "{{json .State.Health }}" your_container_name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment