zoukankan      html  css  js  c++  java
  • docker私有仓库yum安装 docker-registry

    [root@riyimei-node1:/root]
    > yum install docker-registry
    Loaded plugins: fastestmirror, langpacks
    Loading mirror speeds from cached hostfile
    * base: mirrors.aliyun.com
    * epel: mirrors.aliyun.com
    * extras: mirrors.aliyun.com
    * updates: mirrors.163.com
    Package docker-registry is obsoleted by docker-distribution, trying to install docker-distribution-2.6.2-2.git48294d9.el7.x86_64 instead
    Resolving Dependencies
    --> Running transaction check
    ---> Package docker-distribution.x86_64 0:2.6.2-2.git48294d9.el7 will be installed
    --> Finished Dependency Resolution

    Dependencies Resolved

    =======================================================================================================================
    Package Arch Version Repository Size
    =======================================================================================================================
    Installing:
    docker-distribution x86_64 2.6.2-2.git48294d9.el7 extras 3.5 M

    Transaction Summary
    =======================================================================================================================
    Install 1 Package

    Total download size: 3.5 M
    Installed size: 12 M
    Is this ok [y/d/N]: y
    Downloading packages:
    docker-distribution-2.6.2-2.git48294d9.el7.x86_64.rpm | 3.5 MB 00:00:03
    Running transaction check
    Running transaction test
    Transaction test succeeded
    Running transaction
    Installing : docker-distribution-2.6.2-2.git48294d9.el7.x86_64 1/1
    Verifying : docker-distribution-2.6.2-2.git48294d9.el7.x86_64 1/1

    Installed:
    docker-distribution.x86_64 0:2.6.2-2.git48294d9.el7

    Complete!

    [root@riyimei-node1:/root]
    > rpm -ql docker-distribution
    /etc/docker-distribution/registry/config.yml
    /usr/bin/registry
    /usr/lib/systemd/system/docker-distribution.service
    /usr/share/doc/docker-distribution-2.6.2
    /usr/share/doc/docker-distribution-2.6.2/AUTHORS
    /usr/share/doc/docker-distribution-2.6.2/CONTRIBUTING.md
    /usr/share/doc/docker-distribution-2.6.2/LICENSE
    /usr/share/doc/docker-distribution-2.6.2/MAINTAINERS
    /usr/share/doc/docker-distribution-2.6.2/README.md
    /var/lib/registry

    [root@riyimei-node1:/root]
    >

    [root@riyimei-node1:/root]
    > ss -tnl
    State Recv-Q Send-Q Local Address:Port Peer Address:Port
    LISTEN 0 128 192.168.31.141:6443 *:*
    LISTEN 0 128 192.168.31.141:2379 *:*
    LISTEN 0 128 127.0.0.1:2379 *:*
    LISTEN 0 128 127.0.0.1:10251 *:*
    LISTEN 0 128 192.168.31.141:2380 *:*
    LISTEN 0 128 127.0.0.1:10252 *:*
    LISTEN 0 128 *:111 *:*
    LISTEN 0 128 127.0.0.1:8080 *:*
    LISTEN 0 128 127.0.0.1:4243 *:*
    LISTEN 0 128 *:22 *:*
    LISTEN 0 128 :::111 :::*
    LISTEN 0 128 :::10257 :::*
    LISTEN 0 128 :::10259 :::*
    LISTEN 0 128 :::22 :::*
    LISTEN 0 128 :::5000 :::*

    [root@riyimei-node1:/root]
    >

  • 相关阅读:
    插入排序
    python -- 给电视剧重命名
    程序员你为什么迷茫?
    如何把自己打造成技术圈的 papi 酱
    GitHub中国区前100名到底是什么样的人?
    Python+opencv 图像拼接
    VS2015 新Web项目(C#6)出现CS1617错误的解决
    .Net Task<T>的一种比较神奇的卡死情况(Wait/Result卡死, await能得到结果)
    Xamarin Android自学和实践步骤
    跨过几个坑,终于完成了我的第一个Xamarin Android App!
  • 原文地址:https://www.cnblogs.com/liweiming/p/10354992.html
Copyright © 2011-2022 走看看