lejeczek via Podman <podman(a)lists.podman.io> writes:
On 08/06/2021 18:53, Daniel Walsh wrote:
> On 6/8/21 13:49, lejeczek via Podman wrote:
>> Hi guys.
>>
>> what is that below
>>
>> -> $ podman pull ...
>> ...
>> copying blob caccdbcee96e done
>> Copying config 482386bf57 done
>> Writing manifest to image destination
>> Storing signatures
>> Error processing tar file(exit status 1): Container ID 1000
>> cannot be mapped to a host ID
>> Error: Error committing the finished image: error adding layer with
>> blob
>>
"sha256:caccdbcee96ed12576a8ccc6350ba68fc2342695b8747fc8dcb60c0c9434d407":
>> Error processing tar file(exit status 1): Container ID 1000 cannot
>> be mapped to a host ID
>>
>> would anybody know?
>> many thanks, L.
>> _______________________________________________
>> Podman mailing list -- podman(a)lists.podman.io
>> To unsubscribe send an email to podman-leave(a)lists.podman.io
>
> Looks like UID 1000 is not mapped into the user namespace?
>
> podman unshare cat /proc/self/uid_map
>
>
> Is your /etc/subuid and /etc/subgid setup correctly?
-> $ cat /etc/subgid /etc/subuid
podmania:100000:65536
podmania:100000:65536
-> $ id podmania
uid=1000(podmania) gid=1000(podmania) groups=1000(podmania)
Should that matter to root/rootful? (and it's only certain images it
happens for)
can you verify with `podman unshare cat /proc/self/uid_map` that there
are multiple IDs available inside the user namespace?
Thanks,
Giuseppe