podman-compose windows PermissionError: [Errno 13] Permission denied:
时间: 2023-10-17 20:25:11 浏览: 171
根据提供的引用内容,你遇到的问题是"podman-compose windows PermissionError: [Errno 13] Permission denied"。根据引用,这个错误表示在执行podman-compose命令时出现了权限被拒绝的错误。根据引用中的示例,你可以尝试在运行podman-compose命令时添加privileged参数,例如使用"podman-compose --privileged"。这将给予该命令更高的权限,以解决权限被拒绝的问题。另外,根据引用,如果你进入容器时没有给予root权限,或者在读取文件时没有权限,你可以使用"docker exec -u 0 -it 容器名称 /bin/bash"命令以root用户身份进入容器,并在执行文件之前设置正确的权限。这可能会帮助解决你遇到的权限问题。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [docker 13: Permission denied 问题解决方法](https://blog.csdn.net/lsqtzj/article/details/119973987)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [docker中运行python文件,报错PermissionError: [Errno 13] Permission denied: ‘./data/xx.pkl](https://blog.csdn.net/cy15625010944/article/details/125979676)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文