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

Error while running installer script for HDF Sandbox to docker on RedHat

Highlighted

Error while running installer script for HDF Sandbox to docker on RedHat

New Contributor

I am attempting to install HDF to Docker running on RedHat, and am encountering an error before the script completes, resulting in a partial installation. I was previously able to install HDP on this system with no problems, however my organization requires NIFI and I was getting an error when attempting to install the management pack (...Ambari is already installed and installing this package will corrupt your Ambari installation) so I resorted to the HDF image.

If there is a way to install NIFI on the HDP sandbox image that would work as well. Here is the complete output, see the error at the bottom:

	 Pulling from docker.io/hortonworks/sandbox-hdf
9770d73ca513: Pull complete
cbba75ae30cd: Pull complete
2ab8358e9d83: Pull complete
c3dc1edee5ac: Pull complete
16ef1753768d: Pull complete
4637969410d6: Pull complete
b8e4db6ead46: Pull complete
6dfb8d87e2b3: Pull complete
7391486796cd: Pull complete
bdc3aa60d4be: Pull complete
c8e361efbc30: Pull complete
09c1387435ea: Pull complete
fbf7cf7a1d25: Pull complete
0b976c8382c0: Pull complete
b36f100e9d02: Pull complete
632ffc446e70: Pull complete
54284361487c: Pull complete
faac2cbdf641: Pull complete
724877288119: Pull complete
cb227c323beb: Pull complete
2ac56368f39a: Pull complete
6f6177101604: Pull complete
549e458eb5c8: Pull complete
97c911711e20: Pull complete
eb22a9a7508a: Pull complete
f15508f62d1c: Pull complete
0d5f8cd5cb8b: Pull complete
7f1029993807: Pull complete
57ab3eeee95b: Pull complete
84b18849aed8: Pull complete
7c1dca1677b9: Pull complete
Digest: sha256:c235609d6d9eda612b7b9525f1e43b7183ff1d54282f0c6131fd03efa39178d8
Status: Downloaded newer image for docker.io/hortonworks/sandbox-hdf:3.1.1
+ docker pull hortonworks/sandbox-proxy:1.0
Trying to pull repository registry.access.redhat.com/hortonworks/sandbox-proxy ...
Trying to pull repository docker.io/hortonworks/sandbox-proxy ...
1.0: Pulling from docker.io/hortonworks/sandbox-proxy
951bdea65c93: Pull complete
4b9047c5fbbb: Pull complete
773156407aae: Pull complete
d8524176841d: Pull complete
Digest: sha256:42e4cfbcbb76af07e5d8f47a183a0d4105e65a1e7ef39fe37ab746e8b2523e9e
Status: Downloaded newer image for docker.io/hortonworks/sandbox-proxy:1.0
+ '[' hdf == hdf ']'
+ hostname=sandbox-hdf.hortonworks.com
++ docker images
++ awk '{print $2}'
++ grep hortonworks/sandbox-hdf
+ version=3.1.1
+ docker network create cda
+ docker run --privileged --name sandbox-hdf -h sandbox-hdf.hortonworks.com --network=cda --network-alias=sandbox-hdf.hortonworks.com -d hortonworks/sandbox-hdf:3.1.1
ec1d9bbeea5a08692bacb38202715b2fbf943e1f2be7840588e0ca4f136cb26c
+ echo 'Remove existing postgres run files. Please wait...'
Remove existing postgres run files. Please wait...
+ sleep 2
+ docker exec -t sandbox-hdf sh -c 'rm -rf /var/run/postgresql/*; systemctl restart postgresql;'
Failed to get D-Bus connection: No such file or directory
+ sed s/sandbox-hdf-standalone-cda-ready/sandbox-hdf/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
+ grep MINGW
+ uname
+ chmod +x sandbox/proxy/proxy-deploy.sh
+ sandbox/proxy/proxy-deploy.sh
1aef250894dd825a13ad1aca17acec5ddb2f823033839da408d1300fe13216b0
/usr/bin/docker-current: Error response from daemon: oci runtime error: container_linux.go:247: starting container process caused "process_linux.go:364: container init caused \"rootfs_linux.go:54: 
mounting \\\"/apps/assets/nginx.conf\\\" to rootfs \\\"/apps/docker/overlay2/6cafe6c4abd4b73b2222608f9fbe3970d3d46f09bd23b5bdb7b83b12071f8e42/merged\\\" at \\
\"/apps/docker/overlay2/6cafe6c4abd4b73b2222608f9fbe3970d3d46f09bd23b5bdb7b83b12071f8e42/merged/etc/nginx/nginx.conf\\\" caused \\\"not a directory\\\"\""
: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type.