The Grafana docker image seems like it is quite well done, flexing / nicely using some docker features. Might be useful for UID handling, amongst other things: http://docs.grafana.org/installation/docker/#grafana-container-using-bind-mounts