1、现象

[fedora@k8s-cluster-1-ycmwlao4q5wz-minion-0 ~]$ 
[fedora@k8s-cluster-1-ycmwlao4q5wz-minion-0 ~]$ sudo rpm -ivh docker-1.12.4-6.git1b5971a.fc25.src.rpm
Updating / installing...
   1:docker-2:1.12.4-6.git1b5971a.fc25warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
################################# [100%]
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root

2、添加mockbuild 用户

sudo useradd -s /sbin/nologin mockbuild

3、安装rpm

[fedora@k8s-cluster-1-ycmwlao4q5wz-minion-0 ~]$ sudo rpm -ivh docker-1.12.4-6.git1b5971a.fc25.src.rpm
Updating / installing...
   1:docker-2:1.12.4-6.git1b5971a.fc25################################# [100%]

 

转载于:https://www.cnblogs.com/boshen-hzb/p/10932161.html

Logo

K8S/Kubernetes社区为您提供最前沿的新闻资讯和知识内容

更多推荐