Docker Community Forums

Share and learn in the Docker community.

Can I specify health check options in the compose file?

(Patrick Double) #1

I’d like to specify a health check command in the compose file like docker run can do. I have a few images I don’t control, and I’d rather not create my own Dockerfile based on them to add the health check.