[
https://issues.apache.org/jira/browse/NIFI-3260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16000926#comment-16000926
]
ASF GitHub Bot commented on NIFI-3260:
--------------------------------------
Github user gauravgoyal86 commented on the issue:
https://github.com/apache/nifi/pull/1372
Thanks for nifi docker image!!
I am using this docker image. i found 2 nifi.sh run processes running
under nifi docker container
`15-096-Goyal:exanova-templates gaurav.goyal$ docker exec -it
blissful_banach bash
bash-4.2$ ps -ef
UID PID PPID C STIME TTY TIME CMD
nifi 1 0 0 19:26 ? 00:00:00 /bin/sh bin/nifi.sh run
nifi 17 1 0 19:26 ? 00:00:00 /bin/sh bin/nifi.sh run`
Now, When we run docker nifi stop, it will send kill to PID 1, but it does
not stop PID 17.
Thats why we do not get exit status code 0..
Infact we get code 137.
May we know how can we cleanly stop nifi data container including bg and fg
processes?
> 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)