Hello there,
It might be useful if you could explain your exact issue and your requirements.
Exit Code 1 indicates that a container shut down, either because of an application failure or because the image pointed to an invalid file. In a Unix/Linux operating system, when an application terminates with Exit Code 1, the operating system ends the process using Signal 7, known as SIGHUP.
Hope this resolves your Query !!
--If the reply is helpful, please Upvote and Accept it as an answer–