[ 
https://issues.apache.org/jira/browse/NIFI-3260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16001240#comment-16001240
 ] 

ASF GitHub Bot commented on NIFI-3260:
--------------------------------------

Github user gauravgoyal86 commented on the issue:

    https://github.com/apache/nifi/pull/1372
  
    I have just tried using dumb-init
    
    now i am getting following three processes 
    `15-096-Goyal:exanova-templates gaurav.goyal$ docker exec -it d053f9d31436 
ps -ef
    PID   USER     TIME   COMMAND
        1 root       0:00 dumb-init /opt/nifi/bin/nifi.sh run
        7 root       0:00 {nifi.sh} /bin/sh /opt/nifi/bin/nifi.sh run
       19 root       0:00 {nifi.sh} /bin/sh /opt/nifi/bin/nifi.sh run`
    
    executing docker stop gave  "ExitCode": 143.
    
    is it correct way to use dumb-init?
    `def run():
        logger.info('Starting Nifi.')
        os.execl('/usr/bin/dumb-init', 'dumb-init', '/opt/nifi/bin/nifi.sh', 
'run')`
    



> Official Docker Image
> ---------------------
>
>                 Key: NIFI-3260
>                 URL: https://issues.apache.org/jira/browse/NIFI-3260
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Tools and Build
>            Reporter: Jeremy Dyer
>            Assignee: Aldrin Piri
>              Labels: docker
>             Fix For: 1.2.0
>
>
> This JIRA is for setting up a Docker folder structure within the NiFi source 
> code as discussed in the dev mailing list at
> https://lists.apache.org/thread.html/e905a559cb01b30f1a7032cec5c9605685f27a65bdf7fee41b735089@%3Cdev.nifi.apache.org%3E



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to