Some files are not found in container after installing package

Solution Verified - Updated -

Issue

  • Need to install sudo inside a docker container. Unfortunately some files are not present inside the container after install
# rpm -ql sudo-1.8.6p7-20.el7.x86_64| grep ldif
/usr/share/doc/sudo-1.8.6p7/sudoers2ldif
# ls -ltr /usr/share/doc/sudo-1.8.6p7/sudoers2ldif
ls: cannot access /usr/share/doc/sudo-1.8.6p7/sudoers2ldif: No such file or directory

Environment

  • Red Hat Enterprise Linux 7
  • docker

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content