Create Docker Registry outside docker container

How can I create Docker Registry outside the container. I don’t want registry inside the container. If it will be Centos 7 - it will be perfect.

Thanks