通过dockge部署wordpress+mysql遇到权限问题,debug发现是selinux禁止了启动时修改权限的操作
解决方案:
cd /zmain
chcon -R -t container_file_t wordpress
chcon -R -t container_file_t mysql
通过dockge部署wordpress+mysql遇到权限问题,debug发现是selinux禁止了启动时修改权限的操作
解决方案:
cd /zmain
chcon -R -t container_file_t wordpress
chcon -R -t container_file_t mysql
发表回复