Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

how to install hortonworks docker image on a offline machine?

how to install hortonworks docker image on a offline machine?

I tried to instestall hdp sandbox docker image in my centos7 machine i installed docker and i downloaded the latest script start-sandbox-hdp-standalone_2.-6-4.sh when i run

sh start-sandbox-hdp-standalone_2-6-4.sh            
give me 

Waiting for docker daemon to start up: Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) Unable to find image 'hortonworks/sandbox-hdp-standalone:2.6.4' locally docker: Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers). See 'docker run --help'. Error response from daemon: No such container: sandbox-hdp
i would know if there is a possibilty to run hortonworks docker image in a offline machine.
Thanks in advance.
2 REPLIES 2
Highlighted

Re: how to install hortonworks docker image on a offline machine?

@chaouki trabelsi

I think it would be easier to run Virtualbox image on an offline machine. But if you require docker then maybe you could try this:

https://serverfault.com/questions/701248/downloading-docker-image-for-transfer-to-non-internet-conne...

HTH

Highlighted

Re: how to install hortonworks docker image on a offline machine?

Expert Contributor
@chaouki trabelsi

You will need internet connection regardless in order to download the script and deploy the sandbox.

Suppose you want to create the sandbox image on you home system that doesn't have internet...

You may be able to save an existing sandbox image, that has already been deployed - save docker image to a file and then load image on system without internet:

1. follow Deploying Hortonworks Sandbox on Docker instructions (internet required)
2. command: docker save sandbox-hdp | gzip > myHDPsandbox.tgz
3. copy myHDPsandbox.tgz to system without internet
4. command: docker load -i myHDPsandbox.tgz

Good Luck!

Don't have an account?
Coming from Hortonworks? Activate your account here