Created
September 20, 2022 06:46
-
-
Save namp10010/c35c177621251410517dbdf305c626d0 to your computer and use it in GitHub Desktop.
check docker compose healthcheck status and output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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