I found out why the docs are not installed: it is not a feature of Docker but of the CentOS Docker image. Yum and rpm configs both contain options that prevent the installation. They may be disabled by adding the following lines to the Dockerfile:
RUN sed -i '/excludedocs/d' /etc/rpm/macros.imgcreate RUN sed -i '/nodocs/d' /etc/yum.conf