Configure docker registry

Can one instruct on how to configure docker registry on a linux server? I do not want the docker registry server to be a container.