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.

Trying to access NiFi UI of a docker-nifi installation but getting 'cannot connect to host error'

Highlighted

Trying to access NiFi UI of a docker-nifi installation but getting 'cannot connect to host error'

Guru

I created my own docker vm with NiFi 0.6.1. I then ran the vm using the following command:

docker run -i -p 8080:8080 -t vedantja/nificentos7 /bin/bash

When I got to localhost:8080/nifi is where I am getting the error

1 REPLY 1

Re: Trying to access NiFi UI of a docker-nifi installation but getting 'cannot connect to host error'

Rising Star

Your docker run command is executing /bin/bash, rather than launching NiFi. You can remove /bin/bash to run the command specified in your Dockerfile, or you could specify a different command for docker to run.

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