Query docker container stuff

Add the following to Dockerfile:

HEALTHCHECK –interval=10s –timeout=3s CMD curl -s smtp://localhost/ || exit 1

$ docker inspect –format “{{.State.Health.Status}}” 0dbed54e70cc

$ docker inspect –format “{{.State.Status}}” 0dbed54e70cc


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.