• 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]
    >

  • 相关阅读:
    Android 学习笔记之WebService实现远程调用+内部原理分析...
    Android学习笔记之Json的使用....
    Android学习笔记之DocumentBuilder的使用....
    Android学习笔记之ExecutorService线程池的应用....
    Android学习笔记之SoftReference软引用...
    windows系统获取进程的pid号并终止
    Linux系统的时间比北京时间慢12个小时的处理方案(将EDT时区改为CST)
    将java的jar包作为windows的服务来启动
    linux初始化shell脚本
    linux中网络部分的总结
  • 原文地址:https://www.cnblogs.com/liweiming/p/10354992.html
Copyright © 2020-2023  润新知