windows 环境下使用 podman-compose执行出现 PermissionError: [Errno 13] Permission denied:
时间: 2023-10-17 18:25:11 浏览: 201
podman-compose:使用podman运行docker-compose.yml的脚本
在Windows环境下使用podman-compose执行出现PermissionError: [Errno 13] Permission denied错误。这个错误通常是由于缺少足够的权限导致的。解决这个问题的方法有两个。首先,你可以尝试以管理员身份运行命令提示符或PowerShell窗口,这样可以获得更高的权限。其次,你可以在执行podman-compose命令时添加--privileged参数,这将给予容器更高的权限。你可以使用以下命令来运行podman-compose并添加--privileged参数:podman-compose --privileged up。这样应该可以解决PermissionError: [Errno 13] Permission denied错误。<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 ]
阅读全文