I recently upgraded from F28 atomic workstation to F29 silverblue. I had a few containers I want to pull forward and make available in my unprivileged account… The instructions on the release notes page involve a sudo skopeo copy command, which copies old images to the new root-only storage space in /var/run/containers/storage.
“sudo podman images” shows that the images are there, but “podman images” as me shows nothing.
Repeating the skopeo command without the sudo fails becuase my unprivileged account has no permissions in /var/run/containers/storage. Repeating the skopeo command without the sudo and with an oci target fails because I have no permissions to connect to the docker daemon.
I have not found any target which will cause skopeo to store the image in my unprivileged image cache. Since running as an unprivileged user is the big thing skopeo/podman/buildah are supposed to accomplish, there has to be a means of copying my former docker containers into my unprivileged user space. Doesn’t there? What am I missing?
For copying images from priviledged docker or podman, I found the most direct way is to use docker|podman save and then podman import. In the example below, I save an image from my privileged podman container storage and import it into my unprivileged podman storage. It should work the same way when using docker save.