运行时podman build
,我得到:
Error: creating build container: creating container: creating read-write layer with ID "d46b51efb16fd01f507af3bf70392b3c9376ba3d53b76170ab09407f097aabb4": Stat /home/federico/.local/share/containers/storage/overlay/f8c686ca891a580ae2a7931da6d670266e87e79a67b96fac2f9a97ab67bd2867/diff: no such file or directory
这是什么意思?父目录存在。
答案1
这些目录中的权限可能不知何故被搞乱了。只需删除整个容器目录(假设您那里没有任何有价值的东西)并再次发出命令。对于您的情况:
rm -rf /home/federico/.local/share/containers/