Sivaprasanna - They are very similar but different. Exists to primarily assist with speeding up a developers dev cycle. Its purpose is to allow you to make source code changes to NiFi, build with maven (including docker image), and then run the container with your latest changes. So in a sense you can think of the docker maven module as providing you with the latest from master. The dockerhub module on the other hand is used to build an image for a stable Apache validated release. The current dockerhub build will pull down Apache NiFi 1.6 from the Apache mirrors.
TLDR: In cases outside of development you should use the dockerhub one. Thanks, Jeremy Dyer On Thu, Jun 7, 2018 at 9:09 AM, Sivaprasanna <sivaprasanna...@gmail.com> wrote: > Team, > > In the project's nifi-docker > <https://github.com/apache/nifi/tree/master/nifi-docker> module, we have > two things: dockerhub and dockermaven. Are they one and the same or they > are there for different purposes? I have to warn you I don't know much > about 'dockerfile-maven-plugin' so some light on this might help me > understand the differences (if at all). > > Thanks, > Sivaprasanna >