This message was deleted.
# rancher-desktop
a
This message was deleted.
w
I believe all created images and their requisite layers stored in the docker-data vhdx file mounted to the wsl instance
e
How can we access that
w
you should be able to use docker save to export the tarball if you need
e
As i am using windows host so it is not mountable
w
well its a linux file system?
whats the goal?
e
I want to take that image out wherever rancher is storing image and publish it
Using windows host
And made rhel image
w
well that would be docker push to your private registry
e
Ok , but is there some way that I can see the image in my host ?
w
remember its not really a single archive unless you save it as sucj
just a mess of file system layers
e
Can we get archive out it ?
w
and no the fs layers would not be visible to windows since they are only usable on linux
e
Like using zip or rar file
w
yup… use docker save
e
Please can your provide the command
w
it will create a tar.gz of all the bitx
just did …. “docker save”
e
Do I need to provide image name as well ?
And what about path ?
w
look at the help on that command
e
Ok
Thanks 👍
w
it will be something like docker save <imageid> -o myimage.tar.gz
e
Cool thanks
I will try it
s
I use containerd and the command is ... nerdctl -n default save -o name-of-image.tar name-of-image:latest ( assuming its in the default namespace, otherwise k8s.io)