Bug 49439

Summary: Ошибка при попытке создания любого контейнера
Product: Sisyphus Reporter: Boris Yumankulov <boriabloger>
Component: podmanAssignee: Alexey Shabalin <shaba>
Status: CLOSED NOTABUG QA Contact: qa-sisyphus
Severity: normal    
Priority: P5 CC: obirvalger, rider, shaba
Version: unstable   
Hardware: x86_64   
OS: Linux   

Description Boris Yumankulov 2024-02-17 10:33:45 MSK
При попытке создания контейнера командой podman pull, например podman pull docker.io/library/debian:11, выходит ошибка 

Error: copying system image from manifest list: writing blob: adding layer with blob "sha256:09e2bc8a597c33b54cccaf52f2e21798e2e0df79ab6cb33d3b1dfd4b33a57512": processing tar file(potentially insufficient UIDs or GIDs available in user namespace (requested 0:42 for /etc/gshadow): Check /etc/subuid and /etc/subgid if configured locally and run "podman system migrate": lchown /etc/gshadow: invalid argument): exit status 1
Comment 1 Alexey Shabalin 2024-06-03 16:02:36 MSK
не воспроизводиться.

$ podman pull docker.io/library/debian:11
Trying to pull docker.io/library/debian:11...
Getting image source signatures
Copying blob 3d53ef4019fc done   | 
Copying config 53ceee7f07 done   | 
Writing manifest to image destination
53ceee7f0775f861b4245d08192f7b32660e8193655f73b11cce8208a54f5769


Если пытаетесь в rootless режиме, то необходимо:
1. apt-get install sysctl-conf-userns
2. usermod --add-subuids 100000-165535 --add-subgids 100000-165535 <ваш логин>

Доп. информация:
https://github.com/containers/podman/blob/main/docs/tutorials/rootless_tutorial.md