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.
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:
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