Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is a problem with modifying the container and image storage path to APFS hard drive under MACOS. #24780

Open
JAJA-WHB opened this issue Dec 6, 2024 · 0 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@JAJA-WHB
Copy link

JAJA-WHB commented Dec 6, 2024

Issue Description

Hello, I encountered an issue while using Podman on my Mac. I mounted a physical disk partition (in APFS format) on macOS onto the virtual machine of Podman (Podman machine init - volume/Volumes/VM/Podman:/data). I am attempting to merge the image and container paths(
[storage]
driver = "overlay"
runroot = "/data/run"
graphroot = "/data/containers/storage")
Change the storage path to the mounted partition. I found that I am unable to use podman pull to pull images. The error is as follows: Error: copying system image from manifest list: writing blob: adding layer with blob "sha256: a970164f39c1a46f71b3615bc9d5b6710832766b530d9179db8e36563f705abb"/""/"sha256: 632c5d4dce7493801a746c1b8920afbcbb965a0783e3119be028e8eb7485950": ApplyLayer timeout: stderr: setting up pivot dir: mkdir /data/storage/vfs/dir/632c5d4dce7493801a746c1b8920afbcbbc965a0783e3119be028e8eb7485950/.pivot_root1036739271: permission denied exit status 1。

May I ask what the reason is for this?

Steps to reproduce the issue

Steps to reproduce the issue
1.Podman machine init - volume/Volumes/VM/Podman:/data
2.podman pull quay.io/libpod/ubuntu:latest

Describe the results you received

Successfully pulled the image.

Describe the results you expected

Unable to pull image.

podman info output

copying system image from manifest list: writing blob: adding layer with blob "sha256: a970164f39c1a46f71b3615bc9d5b6710832766b530d9179db8e36563f705abb"/""/"sha256: 632c5d4dce7493801a746c1b8920afbcbb965a0783e3119be028e8eb7485950": ApplyLayer timeout: stderr: setting up pivot dir: mkdir /data/storage/vfs/dir/632c5d4dce7493801a746c1b8920afbcbbc965a0783e3119be028e8eb7485950/.pivot_root1036739271: permission denied exit status 1。

Podman in a container

No

Privileged Or Rootless

Rootless

Upstream Latest Release

Yes

Additional environment details

Additional environment details

Additional information

Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting

@JAJA-WHB JAJA-WHB added the kind/bug Categorizes issue or PR as related to a bug. label Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

1 participant