docker私有仓库yum安装 docker-registry

Posted liweiming

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了docker私有仓库yum安装 docker-registry相关的知识,希望对你有一定的参考价值。

[[email protected]:/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!

 

 

[[email protected]:/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

[[email protected]:/root]
>

 

 

[[email protected]:/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 :::*

[[email protected]:/root]
>

以上是关于docker私有仓库yum安装 docker-registry的主要内容,如果未能解决你的问题,请参考以下文章

docker搭建私有仓库

linux7-docker私有仓库nginx秘钥验证搭

docker私有仓库harbor安装

Centos版的安装docker-registry私有仓库

Nexus3 安装 及 配置 docker 私有代理 仓库

创建 docker 私有化仓库