If it’s enough docker pull downloads an image and keeps it untill you delete it.
But if you want a file you can tinker with docker save exports an image to a file.
Thank for your response.
I have tried docker pull but it is not enough.
It seems to have a password… so I have tried with “docker login pull …” but no result.
I have never the possibility to enter a password. Username, yes but not the password…
Looks like your image is on a private registry. You have to do a plain docker login <repository url> first.
If you image is myregistry.com/testimage you have to do docker login myregistry.com
Hello,
I have try the docker pull command. It seems we do not need credentials.
Here this is what I have by executing the command. But no image downloaded…
Any idea please ?
Then everything is fine. Docker saves the images once downloaded. The message Status: Image is up to date for docker.hello.com:5000/image_name:latest tells you that you already have the latest image downloaded.
Try deleting the image with docker image rm docker.hello.com:5000/image_name:latest and pull it again with docker pull docker.hello.com:5000/image_name:latest.
In fact I try to download the image in order not to depends on the docker repository on the server.
By doing docker pull, I don not know where the file is downloaded, for example if I want to put it on a DVD…
If the server crash I need to have a backup of the image on my computer…
I try to do a “docker save”, and with this command I have a downloaded file…
And by doing a “docker load” I can generate my image…?