Support Questions

Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

Apache Nifi Docker container volumes location

New Contributor

Hello,

 

I downloaded the apache/nifi docker image from Docker Hub website and designed an application inside the container that I want to save as a template to use later. When I try to save a template, the Nifi UI doesn't ask me to choose the save location, only a message that confirms the creation is shown.

 

henrique_yda_0-1587671472825.png

 

When I try to inspect the volumes of the container by running "docker inspect volume-name", the following volumes are shown:

henrique_yda_1-1587671689088.png

henrique_yda_2-1587671760611.png

 

Are these volumes created by default with the docker image? Is my template being saved in these volumes? How can I access them?

 

Thanks! 

 

 

1 REPLY 1

Explorer

NiFi Templates are stored within flow.xml.gz file, you can refer to below screenshot from NIFi Documentation.

 

Vj1989_0-1587903535111.png

 

flow.xml.gz is stored in the <</conf >>directory. In your case I can see the mount point is pointing to <</opt/nifi/nifi-current/conf >>directory

 

The best way to manage Templates are from "Global Menu"->Templates

 

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.