docker_check
docker_check copied to clipboard
setDaemon method deprecated in Python 3.10
The script is generating a deprecated warning.
I think this:
worker.setDaemon(True)
needs to be changed to this:
worker.demon = True
Hello,
Thanks for reporting this. I'll check that A.S.A.P.
I didn't use this script for more than 2 years (much more in prod env)..
I was wondering if it's still relevent.. How/Why do you use this script instead of something else?
I have been using it for a couple of years, didn't have any issues with it. Do you have recommendations on alternatives? Your script is easily found through https://exchange.icinga.com/elacheche/Docker%20containers%20check