I tried to create using docker-compose a container for running Nifi. This is the configuration of the docker-compose.yml file
docker-compose
docker-compose.yml