I have installed Docker for Windows. I have downloaded HDP_2.5_docker.tar
from http://hortonworks.com/downloads/#sandbox which is a 10 GB file.
How can I load an image tar file? I have tried this command:
docker import HDP_2.5_docker.tar
Join Stack Overflow to learn, share knowledge, and build your career.
I have installed Docker for Windows. I have downloaded HDP_2.5_docker.tar
from http://hortonworks.com/downloads/#sandbox which is a 10 GB file.
How can I load an image tar file? I have tried this command:
docker import HDP_2.5_docker.tar
You can use docker load
Usage: docker load [OPTIONS]
Load an image from a tar archive or STDIN
docker load < HDP_2.5_docker.tar
docker load -i windowsservercore.tar
HDP_2.5_docker
is located (or use path for HDP_2.5_docker
file). Also check whether file extension is not tar.gz
by default the name of downloaded file should be HDP_2.5_docker.tar.gz
– VladoDemcak
Nov 14 '16 at 6:56
docker.exe load < windowsservercore.tar
, returns requested load from stdin, but stdin is empty
. The following one works though: docker.exe load -i windowsservercore.tar
. I think the answer is incorrect (question is marked with "windows") and should be fixed.
– alexkasko
Jan 31 '17 at 11:01
-i
flag!
– RohitS
Jun 19 '19 at 17:36
Firstly, put the tar file under your user folder: i.e: C:\Users\yourName\xxx.tar
Secondly, run the Docker load CMD:
docker load -i xxx.tar
After it is done, we could see the file is loaded as Docker images by running CMD:
docker images
requested load from stdin, but stdin is empty
, but this method worked. Thanks
– EffinAndJeffin
Apr 2 at 15:26