Docker挂载主机目录时,没有权限访问主机对应的文件夹,可以进入到该目录下,然后赋予该目录权限: [root@localhost var]# chcon -Rt svirt_sandbox_file_t webapps