1、现象

[fedora@k8s-cluster--ycmwlao4q5wz-minion- ~]$
[fedora@k8s-cluster--ycmwlao4q5wz-minion- ~]$ sudo rpm -ivh docker-1.12.4-6.git1b5971a.fc25.src.rpm
Updating / installing...
:docker-:1.12.-.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
################################# [%]
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--ycmwlao4q5wz-minion- ~]$ sudo rpm -ivh docker-1.12.-.git1b5971a.fc25.src.rpm
Updating / installing...
:docker-:1.12.-.git1b5971a.fc25################################# [%]
05-11 22:04