Member since
06-29-2018
4
Posts
0
Kudos Received
0
Solutions
07-02-2018
09:27 AM
Hey,
thanks for your help, changing the IF query has led to success. The Docker Container was successfully launched. I had always started the script before with sh docker-deploy-hdp265.sh. Kind regards
... View more
06-30-2018
07:29 AM
Hey @vpaul Here is the log of the script: + registry=hortonworks
+ name=sandbox-hdp
+ version=2.6.5
+ proxyName=sandbox-proxy
+ proxyVersion=1.0
+ flavor=hdp
+ echo hdp
+ mkdir -p sandbox/proxy/conf.d
+ mkdir -p sandbox/proxy/conf.stream.d
+ docker pull hortonworks/sandbox-hdp:2.6.5
2a7fd016935e: Pull complete
87526fe8ce7c: Pull complete
d91a044a9aaf: Pull complete
bbffcb08266c: Pull complete
65c812fb262a: Pull complete
132f30914412: Pull complete
0f3e10681220: Pull complete
505f5a3365a7: Pull complete
abaff3c0f761: Pull complete
7d75f267b911: Pull complete
18099674493a: Verifying Checksum
18099674493a: Download complete
18099674493a: Pull complete
26310ba15287: Pull complete
635c5bfe7fc8: Pull complete
2f80a5abf101: Verifying Checksum
2f80a5abf101: Download complete
2f80a5abf101: Pull
docker pull hortonworks/sandbox-proxy:1.0
+ [ hdp == hdf ]
docker-deploy-hdp265.sh: 28: [: hdp: unexpected operator
+ [ hdp == hdp ]
docker-deploy-hdp265.sh: 30: [: hdp: unexpected operator
+ docker images
+ grep hortonworks/sandbox-hdp+
awk {print $2}
+ version=2.6.5
+ docker network create cda
+ docker run --privileged --name sandbox-hdp -h --network=cda --network-alias= -d hortonworks/sandbox-hdp:2.6.5
docker: Error response from daemon: network-scoped alias is supported only for containers in user defined networks.
+ echo Remove existing postgres run files. Please wait
+ sleep 2
+ docker exec -t sandbox-hdp sh -c rm -rf /var/run/postgresql/*; systemctl restart postgresql;
Error response from daemon: Container 2c42f119958b636479f0636876c331879babb874be9d07265e82db7d8b3c5e4d is not running
+ 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
+ chmod +x sandbox/proxy/proxy-deploy.sh
+ sandbox/proxy/proxy-deploy.sh
Digest: sha256:0b34fa5cb197717828d6ffe547c23ad9b1c09f3b953e570e37f6f09809fbf3ba
Status: Downloaded newer image for hortonworks/sandbox-hdp:2.6.5
1.0: Pulling from hortonworks/sandbox-proxy
Digest: sha256:42e4cfbcbb76af07e5d8f47a183a0d4105e65a1e7ef39fe37ab746e8b2523e9e
Status: Image is up to date for hortonworks/sandbox-proxy:1.0
2c42f119958b636479f0636876c331879babb874be9d07265e82db7d8b3c5e4d
Remove existing postgres run files. Please wait
36ff322f9d02be781b17940322623a5e858ea38be85f919c2d3dc9b9d633dd12
... View more
06-29-2018
05:00 PM
Hi @vpaul Thanks for your feedback.
I followed the instructions on the linked page and executed the script as described. Output docker ps: CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES I ran'docker start sandbox-hdp' because the container didn't start. What do you mean with the Hosts file, what am I supposed to change?
... View more
06-29-2018
03:30 PM
Hello, everybody,
I have problems with the current Docker installation of the HDP Sandbox 2.6.5
I have run the installation script as indicated on the website, but the images cannot be started now. Output docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
25e9513bc2cd hortonworks/sandbox-proxy:1.0 "nginx -g 'daemon of…" 43 minutes ago Exited (1) 24 minutes ago sandbox-proxy
9305f205699a hortonworks/sandbox-hdp:2.6.5 "/usr/sbin/init" 45 minutes ago Created sandbox-hdp
docker start sandbox-hdp Error response from daemon: network-scoped alias is supported only for containers in user defined networks
Error: failed to start containers: sandbox-hdp
I already tried google to fix the bug. But I'm getting nowhere. Have any of you already had this error and can give me a hint how to get the sandbox running?
Many thanks !
... View more
Labels:
- Labels:
-
Docker