Create a new thread in docker to run event_loop.run_forever() main thread error without throwing an exception

In the docker environment, I ran a python program about event_loop.run_forever() , Docker does not print exceptions. This is Stack Overflow link: https://stackoverflow.com/questions/55700057/create-a-new-thread-in-docker-to-run-event-loop-run-forever-main-thread-error