default docker registry fails 500 error

From memory its a problem with the glance driver in it.   

https://index.docker.io/u/samalba/docker-registry/ is a trusted build and works.