You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by GitBox <gi...@apache.org> on 2022/08/24 18:37:39 UTC

[GitHub] [nifi] exceptionfactory commented on pull request #6329: NIFI-10360 VOLUME declaration prevents updating flow from CI

exceptionfactory commented on PR #6329:
URL: https://github.com/apache/nifi/pull/6329#issuecomment-1226093108

   Thanks for the reply @vitalyzhakov!
   
   That post provides a helpful summary of the problems with declared volumes in Dockerfiles.
   
   Taking a look at some of the official Docker images, however, it seems that the use of `VOLUME` is common for mutable locations. The [MongoDB](https://github.com/docker-library/mongo/blob/master/Dockerfile-linux.template#L111) and [MySQL](https://github.com/docker-library/mysql/blob/master/template/Dockerfile.debian#L92) templates use `VOLUME` for the data and configuration directories.
   
   I agree that providing an optimal configuration in the standard community image is the best solution. With that being said, NIFI-5438 introduced volumes several years ago, so this approach has been the standard for several years.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@nifi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org