additionalimagestores is too slow
I have set additionalimagestores. But the the path is a network disk, I want to pull it to the local disk. How can I pull it to the local disk?
I'm assuming you mean more than just copying the file(s) :D Are you asking about some kind of NFS proxy or cache? Chris Evich (he/him), RHCA III Senior Quality Assurance Engineer Nearly all opportunities, can only be achieved in the future. On 9/28/22 06:32, GHui Wu via Podman wrote:
I have set additionalimagestores. But the the path is a network disk, I want to pull it to the local disk. How can I pull it to the local disk? _______________________________________________ Podman mailing list -- podman@lists.podman.io To unsubscribe send an email to podman-leave@lists.podman.io
I use the lustre. I only want to copy the file to /tmp from lustre when I execute "podman pull".
On 9/28/22 22:06, GHui Wu via Podman wrote:
I use the lustre. I only want to copy the file to /tmp from lustre when I execute "podman pull". _______________________________________________ Podman mailing list -- podman@lists.podman.io To unsubscribe send an email to podman-leave@lists.podman.io
You should be able to just copy them # podman --root /var/lib/shared pull ubi8 alpine Trying to pull registry.access.redhat.com/ubi8:latest... Getting image source signatures Checking if image destination supports signatures Copying blob 809fe483e885 skipped: already exists Copying blob 1b3417e31a5e skipped: already exists Copying config 10f854072e done Writing manifest to image destination Storing signatures 10f854072e7e7b7a715bcd78cf7925851159f9db82a2ff1c9b35806356352029 Trying to pull docker.io/library/alpine:latest... Getting image source signatures Copying blob 213ec9aee27d skipped: already exists Copying config 9c6f072447 done Writing manifest to image destination Storing signatures 9c6f0724472873bb50a2ae67a9e7adcb57673a183cea8b06eb778dca859181b5 # podman --root /var/lib/shared images REPOSITORY TAG IMAGE ID CREATED SIZE registry.access.redhat.com/ubi8 latest 10f854072e7e 3 weeks ago 227 MB docker.io/library/alpine latest 9c6f07244728 7 weeks ago 5.83 MB This is a little hacky, but you need to remove the bolt_state.db file since it records the pah. # rm /tmp/shared/libpod/bolt_state.db # podman --root /tmp/shared images REPOSITORY TAG IMAGE ID CREATED SIZE registry.access.redhat.com/ubi8 latest 10f854072e7e 3 weeks ago 227 MB docker.io/library/alpine latest 9c6f07244728 7 weeks ago 5.83 MB
participants (3)
-
Chris Evich -
Daniel Walsh -
GHui Wu