zoukankan      html  css  js  c++  java
  • docker 私有仓库查询

    docker:/etc/init.d# docker ps -a  | grep reg
    c7d5592a3658        registry                                      "docker-registry"      11 minutes ago      Exited (0) 59 seconds ago                            tender_bohr           
    5739360d1030        registry                                      "docker-registry"      3 months ago        Exited (0) 7 days ago       0.0.0.0:5000->5000/tcp   sad_mccarthy          
    402620f666c1        registry                                      "docker-registry"      3 months ago        Exited (0) 3 months ago                              gloomy_brown          
    docker:/etc/init.d# docker exec -it 5739360d1030  bash
    Error response from daemon: Container 5739360d1030 is not running
    docker:/etc/init.d# docker start 5739360d1030
    5739360d1030
    docker:/etc/init.d# docker ps 
    CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS                    NAMES
    5739360d1030        registry            "docker-registry"   3 months ago        Up 3 seconds        0.0.0.0:5000->5000/tcp   sad_mccarthy        
    docker:/etc/init.d# docker exec -it 5739360d1030 bash
    root@5739360d1030:/# cd /tmp/registry/
    root@5739360d1030:/tmp/registry# ls
    images  repositories
    root@5739360d1030:/tmp/registry# cd images/
    root@5739360d1030:/tmp/registry/images# ls
    088820de4929f0fe9d5125398c9ca34d65d28cd14e1cdfabae6670a91b7bb7e7  4cd4d314a761506606c63dd80e8fe82a603ed17a13bfd55607b36ad7b03ab019  a63aae4d216f12e186c191cdb2dbe01008863590c00e8f163c8fca229d889e18
    0ade12fa67cfc96e9491bb90a599b5b504430c797fada57f4bd224872f82f250  511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158  bb3d629a7cbc1ded0a8fdeb3756433ecea97f50f7c715f6995905567ecb4b6ac
    13547407000da4e2cd2a231f9c0843a790ff83dd771e36e6eb5621dd1febf190  63cbf6e03f8445a69f48149b68eba0b17dc66e2bed67d4720d5202d4a8ebebe6  c640310602a07f86da5737d9dd5ba6709db2794b5ffe7e8113442370e54e9c4a
    1d6ebc5c68b1a268ec122bd212610eab8cedbe524a0e1cbbaff2c80a88f1482d  6fdebd7b0eb5e0695812a42189609799fd743ea37dd55d4dc374eca0c57924cc  d3451720f1a0df1bb04a5c2ddce14c03b9fefc8737ff6a8b85b4eb92729613c3
    2885d941cff259bc442e17ce781c19296f794a99d4e35c022c3bb7e4720f6e87  73a464f47545631c0cda8bf40d3b574544c7c5fe091df411e76186ba6678c8b1  d9c27f7ba9330b23d6722f1f1326618730b201e782c796c8e35a92656be8f281
    359916f29599b18de55ba3398bdb97499712746380102c27e17af943384e1ab8  848821b1ba2e49f928c522b875b4f05db7dc652d10c92f3fbb5c984a121de321  e5565e2ef9748b7c31fb1562855dc943390779c5e90bbb4a5ad8d8c91405c0fa
    3690474eb5b4b26fdfbd89c6e159e8cc376ca76ef48032a30fa6aafd56337880  99ca2e2e1628e501ec0c4ef3363f262ac9cc377b371462bbaa03db4cec4ed5d1  e9bd4b676dedc8d5e04e6ccbda2eefed8a45f3309ac1e1e00ce3cf25892466d0
    434c4358581c12cdba06fad664cae88a751acb7e9b17031867bcd80aac710e6f  9e2de3fc074884ffb26fe0784c9a6b11dc2e4777bffc74611263fa1bb3e32b6b  f01c1b1384881c8d0dfafa090451b10b7ff960c7f35250d3596a287f6126a6d3
    47d44cb6f252ea4f6aecf8a447972de5d9f9f2e2bec549a2f1d8f92557f4d05a  a05f15a89c8db52586d344d504ebcbc02b0d35c78fd38dbbc850203d496167b3  f01c69d919d15cffe28edc451a38856afd200b0f704ad0d13cd5c67514c18086
    4bfcf7adf757439a97ecd8a507abe3ad8ea0a955040a4c4a5ef22b43d7fcd13b  a2100527968f54963d3a4cc12f5c106f51ece89e6515ce8dc48e9af62e9f20e5  fb7765e908cbdaf71bb1207198328cb762691ab405a79352fdeea0581112c439
    
    
    docker 私有仓库管理:
    
    docker:/etc/init.d# curl http://192.168.32.150:5000/v1/search
    {"num_results": 16, "query": "", "results": [{"description": "", "name": "library/zjzc_centos6.5_template"}, {"description": "", "name": "library/zjzc_linux123"}, {"description": "", "name": "library/zjzc-test03"}, {"description": "", "name": "library/zjzc_centos6.5_m01"}, {"description": "", "name": "library/zjzc_centos6.5_m1"}, {"description": "", "name": "library/zjzc_centos6.5_m3"}, {"description": "", "name": "library/zjzc_centos6.5_nginx"}, {"description": "", "name": "library/zjzc_centos6.5_haproxy"}, {"description": "", "name": "library/zjzc_centos6.5_m4"}, {"description": "", "name": "library/zjzc_centos6.5_app"}, {"description": "", "name": "library/zjzc_centos6.5_nfs"}, {"description": "", "name": "library/zjzc_centos6.5_pay_mysql"}, {"description": "", "name": "library/zjzc_centos6.5_zjzc_mysql"}, {"description": "", "name": "library/zjzc_centos6.5_redis"}, {"description": "", "name": "library/zjzc_centos6.5_frontend"}, {"description": "", "name": "library/zjzc_centos6.5_backoffice"}]}docker:/etc/init.d# 

  • 相关阅读:
    基于策略模式简单实现element表单校验
    跨域
    原型模式
    单例模式
    vue-router进阶篇
    vue-router
    h5深度剖析
    js同步异步,任务队列
    JavaScript中事件委托(事件代理)详解
    网络请求get和post的区别
  • 原文地址:https://www.cnblogs.com/zhaoyangjian724/p/6199832.html
Copyright © 2011-2022 走看看