title: How to install man pages on an ubuntu docker image?
body: <p>I use the following Dockerfile to build an image and start a container. But once I am in the container, I still can not find manpages. Does anybody know how to solve this problem?</p>
  <pre class="lang-none prettyprint-override"><code>$ cat Dockerfile 
  FROM ubuntu
  RUN apt -y update &amp;&amp; apt -y upgrade
  RUN apt-get -y install build-essential
  RUN apt-get -y install vim
  RUN apt-get -y install man
  RUN apt-get -y install gawk
  RUN apt-get -y install mawk
  
  $ man man
  No manual entry for man
  See 'man 7 undocumented' for help when manual pages are not available.
  $ find /usr/share/man /usr/local/share/man  -type f
  </code></pre>