Welcome to the docker-telegram wiki!
The doc says the error
can be solved with
xhost +
In fact the more restrictive
xhost +local:docker
is enough