官方镜像仓库 https://hub.docker.com/
    私有镜像仓库 registry

    1. docker run -d -p 5000:5000 registry
    2. docker tag nginx:latest localhost:5000/nginx:v1
    3. docker images
    4. REPOSITORY TAG IMAGE ID CREATED SIZE
    5. nginx latest fa5269854a5e 9 days ago 142MB
    6. localhost:5000/nginx v1 fa5269854a5e 9 days ago 142MB
    7. registry latest 2e200967d166 3 weeks ago 24.2MB
    8. centos latest 5d0da3dc9764 7 months ago 231MB
    9. docker push localhost:5000/nginx:v1
    10. The push refers to repository [localhost:5000/nginx]
    11. b6812e8d56d6: Pushed
    12. 7046505147d7: Pushed
    13. c876aa251c80: Pushed
    14. f5ab86d69014: Pushed
    15. 4b7fffa0f0a4: Pushed
    16. 9c1b6dd6c1e6: Pushed
    17. v1: digest: sha256:61face6bf030edce7ef6d7dd66fe452298d6f5f7ce032afdd01683ef02b2b841 size: 1570

    参考链接

    harbor