viper0131 / check_mk

Check_MK docker version
21 stars 20 forks source link

stream copy error and Error running exec in container messages #32

Closed ericandrewlewis closed 6 years ago

ericandrewlewis commented 6 years ago

First, thanks for this Dockerfile! Super cool to run this software on my server and see resource metrics.

When I run the container, I see repeated messages in my docker daemon logs every minute:

Sep 09 10:12:56 eric-desktop dockerd[986]: time="2018-09-09T10:12:56.446814177-04:00" level=error msg="Error running exec 9a299112e4759a77ca5c8336d217472ebff2f966d8136a0131b in container: OCI runtime exec failed: exec failed: container_linux.go:348: starting container process caused \"exec: \\\"which\\\": executable file not found in $PATH\": unknown"
Sep 09 10:13:56 eric-desktop dockerd[986]: time="2018-09-09T10:13:56.599305189-04:00" level=error msg="stream copy error: reading from a closed fifo"
Sep 09 10:13:56 eric-desktop dockerd[986]: time="2018-09-09T10:13:56.599604869-04:00" level=error msg="stream copy error: reading from a closed fifo"
Sep 09 10:13:56 eric-desktop dockerd[986]: time="2018-09-09T10:13:56.668032228-04:00" level=error msg="Error running exec 291343cfc65fae8d0da182eb9ee090315373d5fb3c585f71f21 in container: OCI runtime exec failed: exec failed: container_linux.go:348: starting container process caused \"exec: \\\"which\\\": executable file not found in $PATH\": unknown"
Sep 09 10:14:56 eric-desktop dockerd[986]: time="2018-09-09T10:14:56.402445408-04:00" level=error msg="stream copy error: reading from a closed fifo"
Sep 09 10:14:56 eric-desktop dockerd[986]: time="2018-09-09T10:14:56.403900994-04:00" level=error msg="stream copy error: reading from a closed fifo"
Sep 09 10:14:56 eric-desktop dockerd[986]: time="2018-09-09T10:14:56.456562800-04:00" level=error msg="Error running exec d1cb53f926eeac493e0d95c56e9b3aec4b0e1c566b55a83d50b in container: OCI runtime exec failed: exec failed: container_linux.go:348: starting container process caused \"exec: \\\"which\\\": executable file not found in $PATH\": unknown"
Sep 09 10:15:56 eric-desktop dockerd[986]: time="2018-09-09T10:15:56.262323225-04:00" level=error msg="stream copy error: reading from a closed fifo"
Sep 09 10:15:56 eric-desktop dockerd[986]: time="2018-09-09T10:15:56.262341025-04:00" level=error msg="stream copy error: reading from a closed fifo"
Sep 09 10:15:56 eric-desktop dockerd[986]: time="2018-09-09T10:15:56.311604038-04:00" level=error msg="Error running exec fec33c2541c176b4c367689452de35772f0e99c42b6aa9ffacc in container: OCI runtime exec failed: exec failed: container_linux.go:348: starting container process caused \"exec: \\\"which\\\": executable file not found in $PATH\": unknown"
Sep 09 10:16:56 eric-desktop dockerd[986]: time="2018-09-09T10:16:56.586598695-04:00" level=error msg="stream copy error: reading from a closed fifo"
Sep 09 10:16:56 eric-desktop dockerd[986]: time="2018-09-09T10:16:56.586737360-04:00" level=error msg="stream copy error: reading from a closed fifo"
mcgege commented 6 years ago

Hi Eric,

I have re-included the which package in the container (#33), please try again with the latest code ...

Thanks for your report - Michael