You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by "Kifle, Dawit *" <Da...@fda.hhs.gov> on 2019/01/03 20:06:41 UTC

Not able to run NiFi > 1.4.0 as a service (using compose file)

Hello,

I am having a problem running NiFi 1.8.0 image as a service in Docker swarm environment (Docker EE) using the following simple compose file.  Do you know if anyone has been able to run NiFi versions greater than 1.4 successfully using a compose file as a swarm service ?
However, we are able to run the same image as a stand-alone container using "docker run ..." command.

version: '3'
services:
  nifi-svc-180:
    image: dtr.com/user/apache-nifi:1.8.0<http://dtr.com/user/apache-nifi:1.8.0>
    ports:
      - "8080:8080"


Thanks
David

Dawit Kifle - Sr. Principal Architect/ Docker SME (Contractor)
Docker Certified Associate
OIMT/DIO CaaS Technical Lead Contractor
DIO Docker Containers as a Service Team (OIMT/DIO/Implementation Branch)
Aurotech Inc.<http://www.aurotechcorp.com/>| Dawit.Kifle@aurotechcorp.com<ma...@aurotechcorp.com> |
Cell:  732-910-1111 |


RE: Not able to run NiFi > 1.4.0 as a service (using compose file)

Posted by "Kifle, Dawit *" <Da...@fda.hhs.gov>.

Update:

I just took some time to look into this issue, and was able to run NiFi version 1.8.0 as a service using the following compose file.  We can consider this issue closed for now. This will enable us to run any NiFi version/release as a service.

version: '3'
services:
  nifi-svc-180:
    image: dcaas-dtr.preprod.fda.gov/ad_app_s.zaciragic/apache-nifi:1.8.0
    environment:
      - NIFI_WEB_HTTP_PORT=8080
      - NIFI_WEB_HTTP_HOST=0.0.0.0
    ports:
      - "8080:8080"


Dawit Kifle – Sr. Principal Architect/ Docker SME (Contractor)
Docker Certified Associate
OIMT/DIO CaaS Technical Lead Contractor
DIO Docker Containers as a Service Team (OIMT/DIO/Implementation Branch)
Aurotech Inc.<http://www.aurotechcorp.com/>| Dawit.Kifle@aurotechcorp.com<ma...@aurotechcorp.com> |
Cell:  732-910-1111 |

From: Mike Thomsen <mi...@gmail.com>
Sent: Thursday, January 3, 2019 3:18 PM
To: users@nifi.apache.org
Subject: Re: Not able to run NiFi > 1.4.0 as a service (using compose file)

Rolled off a team a few months ago that was using 1.7.1 with Docker Swarm. Don't remember the exact commands they were using, but they did user some sort of docker-compose setup.

On Thu, Jan 3, 2019 at 3:06 PM Kifle, Dawit * <Da...@fda.hhs.gov>> wrote:
Hello,

I am having a problem running NiFi 1.8.0 image as a service in Docker swarm environment (Docker EE) using the following simple compose file.  Do you know if anyone has been able to run NiFi versions greater than 1.4 successfully using a compose file as a swarm service ?
However, we are able to run the same image as a stand-alone container using “docker run …” command.

version: '3'
services:
  nifi-svc-180:
    image: dtr.com/user/apache-nifi:1.8.0<http://dtr.com/user/apache-nifi:1.8.0>
    ports:
      - "8080:8080"


Thanks
David

Dawit Kifle – Sr. Principal Architect/ Docker SME (Contractor)
Docker Certified Associate
OIMT/DIO CaaS Technical Lead Contractor
DIO Docker Containers as a Service Team (OIMT/DIO/Implementation Branch)
Aurotech Inc.<http://www.aurotechcorp.com/>| Dawit.Kifle@aurotechcorp.com<ma...@aurotechcorp.com> |
Cell:  732-910-1111 |


Re: Not able to run NiFi > 1.4.0 as a service (using compose file)

Posted by Mike Thomsen <mi...@gmail.com>.
Rolled off a team a few months ago that was using 1.7.1 with Docker Swarm.
Don't remember the exact commands they were using, but they did user some
sort of docker-compose setup.

On Thu, Jan 3, 2019 at 3:06 PM Kifle, Dawit * <Da...@fda.hhs.gov>
wrote:

> Hello,
>
>
>
> I am having a problem running NiFi 1.8.0 image as a service in Docker
> swarm environment (Docker EE) using the following simple compose file.  Do
> you know if anyone has been able to run NiFi versions greater than 1.4
> successfully using a compose file as a swarm service ?
>
> However, we are able to run the same image as a stand-alone container
> using “docker run …” command.
>
>
>
> version: '3'
>
> services:
>
>   nifi-svc-180:
>
>     image: dtr.com/user/apache-nifi:1.8.0
>
>     ports:
>
>       - "8080:8080"
>
>
>
>
>
> Thanks
>
> David
>
>
>
> *Dawit Kifle – Sr. Principal Architect/ Docker SME (Contractor)*
>
> Docker Certified Associate
>
> OIMT/DIO CaaS Technical Lead Contractor
>
> DIO Docker Containers as a Service Team (OIMT/DIO/Implementation Branch)
> Aurotech Inc. <http://www.aurotechcorp.com/>| Dawit.Kifle@aurotechcorp.com
> |
>
> Cell:  732-910-1111 |
>
>
>