Docker events logging Install pip install requirements.txt Run DOCKER_EVENTS_LOGFILE=/tmp/events.log python events.py