At the moment, I'm using simple bash script to start the self-update process, and bind concurrently. What should happen, is that when either process is killed, the script should kill both process and exit. This should cause the container to exit with failure as well.
What should happen next is that docker would restart the whole container cleanly.
However, that's not working right now. At the moment, when 1 process is killed, the other process would continue normally.
At the moment, I'm using simple bash script to start the self-update process, and bind concurrently. What should happen, is that when either process is killed, the script should kill both process and exit. This should cause the container to exit with failure as well. What should happen next is that docker would restart the whole container cleanly.
However, that's not working right now. At the moment, when 1 process is killed, the other process would continue normally.