1. yum install docker
2. set docker : systemctl enable docker.service
3. docker pull registry
4. docker run -d -v /data/docker/registry -p 5000:5000 --restart=always --name registry registry
5. docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
8f16bc0fa69c registry "docker-registry" 13 seconds ago Up 10 seconds 0.0.0.0:5000->5000/tcp registry
6. open chrom : http://ip:5000