Support Questions
Find answers, ask questions, and share your expertise

Deploy HDP Sandbox on Docker for Windows 10

Deploy HDP Sandbox on Docker for Windows 10

New Contributor

Hi,

 

I am trying to deploy HDP Sandbox on docker for Windows. 

when I execute the docker-deploy-hdp30.sh script I face the following Error

 

dial tcp: lookup registry-1.docker.io on 192.168.65.5:53: no such host
+ docker pull hortonworks/sandbox-proxy:1.0
Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on 192.168.65.5:53: no such host
+ '[' hdp == hdf ']'
+ '[' hdp == hdp ']'
+ hostname=sandbox-hdp.hortonworks.com
++ docker images
++ grep hortonworks/sandbox-hdp
++ awk '{print $2}'
+ version=
+ docker network create cda
+ docker run --privileged --name sandbox-hdp -h sandbox-hdp.hortonworks.com --network=cda --network-alias=sandbox-hdp.hortonworks.com -d hortonworks/sandbox-hdp:
docker: invalid reference format.
See 'docker run --help'.
+ echo ' Remove existing postgres run files. Please wait'
Remove existing postgres run files. Please wait
+ sleep 2
+ docker exec -t sandbox-hdp sh -c 'rm -rf /var/run/postgresql/*; systemctl restart postgresql-9.6.service;'
Error: No such container: sandbox-hdp
+ sed s/sandbox-hdp-security/sandbox-hdp/g assets/generate-proxy-deploy-script.sh
+ mv -f assets/generate-proxy-deploy-script.sh.new assets/generate-proxy-deploy-script.sh
+ chmod +x assets/generate-proxy-deploy-script.sh
+ assets/generate-proxy-deploy-script.sh
+ uname
+ grep MINGW
MINGW64_NT-10.0-17763
+ sed -i -e 's/\( \/[a-z]\)/\U\1:/g' sandbox/proxy/proxy-deploy.sh
+ chmod +x sandbox/proxy/proxy-deploy.sh
+ sandbox/proxy/proxy-deploy.sh
sandbox-proxy
fb65fb2c795b46fae5fcfad644e0547ca781271ff9122137bf287640bc136c21
docker: Error response from daemon: Ports are not available: listen tcp 0.0.0.0:50111: bind: An attempt was made to access a socket in a way forbidden by its access permissions.

 

Thanks in advance.

Regards,

Farrukh