Init docker-registry with beego.