错误
如果提示ls: cannot access '/docker-entrypoint-initdb.d/': Operation not permitted
原因是CentOS7中的安全模块selinux把权限禁掉了
解决方法
在运行容器的时候,给容器加特权,及加上 --privileged=true
参数解释
privileged:用来给容器root权限,不安全的
envi...
阅读全文