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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.