Hi

 

I am using podman and running non-root

==> podman version

Version:      2.2.1

API Version:  2

Go Version:   go1.14.7

Built:        Mon Feb  8 15:19:06 2021

OS/Arch:      linux/amd64

 

I’ve loaded one docker image.  But because of security and restrictions the building of that docker image I performed on my laptop.  We have a local repository which as intense security scans of images which I will use as some point.

 

So I downloaded the docker image I needed on my laptop.  Exported the image and copied it to the server with podman.  Then I ran LOAD to add the image.  Import does not work because of the external registry.

 

Thanks

 

Kent Collins

Office:  817.352.0251 | Enterprise Information Management | Cell: 817.879.7764

Data Solutions Architect/Scientist – Published Author and Conference Speaker

 

“Death and life are in the power of the tongue: and they that love it shall eat the fruit thereof.”

Prov 18:21

 

 

 

-----Original Message-----
From: Daniel Walsh [mailto:dwalsh@redhat.com]
Sent: Monday, April 26, 2021 5:58 AM
To: podman@lists.podman.io
Subject: [Podman] Re: Need help in creating a rootless container in podman

 

External Message

On 4/25/21 09:17, supravapanda@gmail.com wrote:

> I have tried all options.when run podman pull command as a normal user i get below error.but as sudo it works fine.

> Can i know what need to done to run the command as a non root user..

> 

> atlvrmsbmld02:/home/orequest[ 53 ] --> podman pull

> registry.access.redhat.com/ubi8/ubi

> Trying to pull registry.access.redhat.com/ubi8/ubi:latest...

> Getting image source signatures

> Copying blob 4b21dcdd136d done

> Copying blob 55eda7743468 done

> Copying config 613e5da7a9 done

> Writing manifest to image destination

> Storing signatures

>    Error processing tar file(exit status 1): Error setting up pivot

> dir: mkdir

> /home/orequest/.local/share/containers/storage/overlay/476579af086aee7

> 8cb12d88b08fd6b61a80a3f055cae293ec2d15a37dbe7b3f9/diff/.pivot_root4716

> 72024: permission denied

> Error: Error committing the finished image: error adding layer with

> blob

> "sha256:4b21dcdd136d133a4df0840e656af2f488c226dd384a98b89ced79064a4081

> b4": Error processing tar file(exit status 1): Error setting up pivot

> dir: mkdir

> /home/orequest/.local/share/containers/storage/overlay/476579af086aee7

> 8cb12d88b08fd6b61a80a3f055cae293ec2d15a37dbe7b3f9/diff/.pivot_root4716

> 72024: permission denied

> _______________________________________________

> Podman mailing list -- podman@lists.podman.io To unsubscribe send an

> email to podman-leave@lists.podman.io

 

Perhaps user namesapce is not setup correctly.

 

 

podman unshare cat /proc/self/uid_map

 

_______________________________________________

Podman mailing list -- podman@lists.podman.io To unsubscribe send an email to podman-leave@lists.podman.io

 

<p></p>