The ellusive SIGTERM in Docker Jul 14, 2020 To catch SIGTERM in Docker, do: Donβt run tail in foreground! Run tail in background and call wait on it. Apparently, wait works but tail does not.