首页 > 其他 > 详细

In container,I can't use man

时间:2019-11-04 12:12:58      阅读:84      评论:0      收藏:0      [点我收藏+]

in container,I can‘t use man in ubuntu image ,by search i find this link to slove the problem

cp /etc/dpkg/dpkg.cfg.d/excludes /etc/dpkg/dpkg.cfg.d/excludes.bak
apt update && apt-get install -y man manpages-posix
 

how to use man in centos image? I find this link

remove "tsflags=nodocs" from "/etc/yum.conf"

yum install -y man man-pages

this link explanation it:

Package documentation

By default, the CentOS containers are built using yum‘s nodocs option, which helps reduce the size of the image. If you install a package and discover files missing, please comment out the line tsflags=nodocs in /etc/yum.conf and reinstall your package.

In container,I can't use man

原文:https://www.cnblogs.com/anyux/p/11791016.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!