You haven't provided any details as to the version of Red Hat or the error
message. However you are following a howto for Arch linux with a huge
amount of added complexity. Please ditch the howto! The installation
instructions for most distros (dnf/yum install...) are right here:
https://podman.io/getting-started/installation
Once installed, you should be able to (as user not root):
podmand build -t myimage Dockerfile
podman run -it --name myimage bash
On Sun, 25 Apr 2021 at 07:11, <supravapanda(a)gmail.com> wrote:
Trying to create a rootless container on Redhat . i am facing some
problems. Can anybody help ?I am following below link
https://medium.com/devops-dudes/how-to-setup-root-less-podman-containers-...
I can create a container from root user on redhat but when trying from
normal user getting below error
Error: Error initializing source docker://
registry.access.redhat.com/ubi8/ubi:latest: error getting username and
password: error reading JSON file "/home/$USER/.docker/config.json": open
/home/$USER/.docker/config.json: permission denied
_______________________________________________
Podman mailing list -- podman(a)lists.podman.io
To unsubscribe send an email to podman-leave(a)lists.podman.io
--
Boyd Kelly <bkelly(a)coastsystems.net>
www:
http://www.coastsystems.net
Tel: +1 604 837-0765