If you want them to be on your host machine then you have to declare those yes. By default docker will create directories for those volumes on the docker host under /var/lib/docker/volumes/. Note: the docker host is typically running in a VM, at least this is the case on Docker for Mac.
On Thu, Oct 25, 2018 at 3:07 PM Stephen Greszczyszyn <[email protected]> wrote: > > > On Thu, 25 Oct 2018 at 12:50, Peter Wilcsinszky < > [email protected]> wrote: > > But even with 1.8 I'll need to declare the host mount directory somehow > via docker-compose, as how will the built docker image on dockerhub know > where to locally mount the internal $(NIFI_HOME) volumes as described below? > > VOLUME ${NIFI_LOG_DIR} \ >>> ${NIFI_HOME}/conf \ >>> ${NIFI_HOME}/database_repository \ >>> ${NIFI_HOME}/flowfile_repository \ >>> ${NIFI_HOME}/content_repository \ >>> ${NIFI_HOME}/provenance_repository \ >>> ${NIFI_HOME}/state >>> >> >> Yes you should specify volumes explicitly if you use 1.7.1, but also you >> should specify an extra separate volume to use for your incoming SFTP data. >> >>
