Docker – 不允许使用Rhel映像chcon操作

我能够使用github脚本创buildRhel 7.3基本映像 – https://github.com/moby/moby/blob/master/contrib/ mkimage-yum.sh

但是,我发现在容器中不允许chcon命令。

chcon: 无法将 “/usr/local/fcp/fcpmaint/cgibin/fwm_archlog.cgi”的上下文更改为“system_u:ob ject_r:httpd_sys_script_exec_t:s0”: 操作不允许

我已经尝试在容器中安装“selinux-policy-targeted”包,但是仍然没有解决问题。 有任何想法吗? 请帮忙。 谢谢。