rocky linux podman container permission issue

通过dockge部署wordpress+mysql遇到权限问题,debug发现是selinux禁止了启动时修改权限的操作

解决方案:

cd /zmain
chcon -R -t container_file_t wordpress
chcon -R -t container_file_t mysql

评论

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注