Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to download docker hub images whitout "docker pull" for a machine with out Internet access?

I want to download some images for a computer that has not internet.

My computer that have internet has NO DOCKER installed (old kernel) so it is not possible to use docker command to pull, save and export it to the other machine.

I'm looking for a way to download a docker image (like via wget, ...) and use it on my computer without Internet.

like image 753
Youssouf Maiga Avatar asked Nov 03 '16 13:11

Youssouf Maiga


1 Answers

Yes that's possible. Docker has the features save and load.

Run this command on your machine with the image you want to copy to the other computer:

docker save myimage > myimage.tar

To load the image again run:

docker load < myimage.tar
like image 177
k4l4m Avatar answered Sep 19 '22 18:09

k4l4m