- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Created on 11-30-2016 10:42 PM
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
NiFi UI should be available here
http://localhost:8080/nifi/
Have fun!
Created on 01-20-2017 03:49 PM
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
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.
Created on 09-08-2017 09:57 AM
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hi @smanjee - did you set up any automation to push your nar files into the nifi docker container on build?