Instead of hardcoding all kinds of /vX.YY suffixes, check for /events suffix
Instead of hardcoding all kinds of /vX.YY suffixes, check for /events suffix

No other resource ends with /events except for the events endpoint,
see https://docs.docker.com/engine/reference/api/docker_remote_api_v1.24/

tueftler/boot