This repository contains a Dockerfile to create a containerized version of Apache NiFi for Docker's automated build published to the public Docker Hub Registry.
-
Install Docker
-
Build an image from Dockerfile:
./build.sh
-
Start the image:
./start.sh
docker run -d --name nifi \
-p 8080:8080 \
-v $(pwd)/conf:/home/nifi/conf \
-v $(pwd)/flowfile:/home/nifi/flowfile_repository \
-v $(pwd)/database:/home/nifi/database_repository \
-v $(pwd)/content:/home/nifi/content_repository \
-v $(pwd)/provenance:/home/nifi/provenance_repository \
in2rd/docker-nifi
-
8080 is a common port, so script binds to 18080 for uniqueness
-
Configuration (
conf
) folder is a volume. If you choose to mount, ensure the conf files exist before starting. -
Flow files are a exposed as a volume (
/home/nifi/flowfile_repository
) -
Database files are a exposed as a volume (
/home/nifi/database_repository
) -
Content files are a exposed as a volume (
/home/nifi/content_repository
) -
Provenance tracking files are a exposed as a volume (
/home/nifi/provenance_repository
)