Apache NiFi 1.1.0 is now available and once again I want to test it in a isolated environment. Docker!
The steps to do this are extremely similar to what has been detailed here (https://community.hortonworks.com/articles/69043/launching-a-nifi-docker-instance.html)
Pull the image
docker pull sunileman/nifi1.1.0
You may find the mirror site is not optimal based on your location. Go here and grab your mirror site. Update MIRROR_SITE parameter in the Dockerfile with your mirror site. The Dockerfile is available here. If you update the Dockerfile you will have to build an image. Do this by running
docker build --no-cache -t sunileman/nifi1.1.0 .
Whether you pulled the image or built a new one, run this to launch Apache NiFi 1.1.0
docker run -it --rm -p 8080-8081:8080-8081 sunileman/nifi1.1.0
Hi Sunile,
Thanks for sharing the docker file. I have created my own docker file and running it on openstack VM following same docker run concept.
docker run -it --rm -p 8080-8081:8080-8081 sunileman/nifi1.1.0
It takes 7 minutes to open nifi GUI. Unable to understand why initialization takes so long ?
Once docker container is started. I am doing docker stop nifi. it stops the container. Now docker start nifi start the container as i can check using docker ps. but i could not launch my nifi GUI and container vanishes after 7 minutes.
"
Attached herewith my Dockerfile and supporting script.