2-i create a bash file to verify my container and each 1 minute execute this file if my container is down the file is going to up.
thanks for yours helps.
Did you tried with the restart policy ? Did it helped?
What you did is also interesting. Can you pls share more details, with contents of the bash file?