The documentation for docker events provides details, but when debugging it may be useful to launch a container and be notified immediately of any related event:
docker run... & docker events --filter 'container=$(docker ps -lq)'
In docker ps -lq, the l stands for last, and the q for quiet. Th...