How to make private registry in locally

I have setup docker in fedora 23, I need to setup new private registry in locally and push and pull my docker image to that registry. suggest me how to setup private registry in fedora 23.