docker-centos6.9 /etc/rc.d/init.d/functions: No such file or directory解决方法

docker 中 centos6.8 /etc/rc.d/init.d/functions: No such file or directory 错误,解决

rpm -qf /etc/init.d/functions

查找到

[xx@ ~]$ rpm -qf /etc/init.d/functions

initscripts-9.03.40-2.el6.centos.4.x86_64

[xx@ ~]$ rpm -qf /sbin/service

initscripts-9.03.40-2.el6.centos.4.x86_64

 

yum 安装即可:

yum install initscripts

posted on 2020-11-10 17:32  秋雨的蝴蝶  阅读(973)  评论(0编辑  收藏  举报