By default the SL docker images do not include documentation or license files. If you require them, please remove tsflags=nodocs from /etc/yum.conf and run yum reinstall mypackage to recieve the documentation.
tsflags=nodocs
/etc/yum.conf
yum reinstall mypackage