6

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.

3

2 Answers 2

7

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
2
  • I can't install docker on my computer with internet. My kernel is too old. Nov 3, 2016 at 14:26
  • 1
    If your kernel is too old you can't use docker. Upgrade your kernel first.
    – k4l4m
    Nov 3, 2016 at 16:05
0

If you don't have access to a machine supporting docker in any way what you can do is create a repository on quay.io with a dockerfile like

FROM myimage
...

quay actually allows to download images from the web panel whereas docker hub/store does not afaik.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.