Closed nghiant2710 closed 7 years ago
The current entryscript can not trap the stop signal from Docker if we use fg command to wait for the background process to finish. So we should use wait command instead to trap and handle the stop signal properly.
fg
wait
The current entryscript can not trap the stop signal from Docker if we use
fg
command to wait for the background process to finish. So we should usewait
command instead to trap and handle the stop signal properly.