"/bin/sh": stat /bin/sh: no such file or directory error for fluentbit:latest-debug #9886
Replies: 2 comments
-
See #9881 The ghcr.io/fluent/fluent-bit debug images should be working. The docker.io ones have not been updated yet but everything should be fixed next release. |
Beta Was this translation helpful? Give feedback.
-
Note that the debug image has a load of extra debug tools in it. It might be better to just copy the fluent bit binary from the production image into your own base image with just what you need in it. The debug stage in the docker file does exactly this as an example and it would give you more control over what is actually in the image, using additional run statements to upgrade things and still have all the extra dependencies of the debug image may not be the best option. https://github.com/fluent/fluent-bit/blob/master/dockerfiles%2FDockerfile#L263 |
Beta Was this translation helpful? Give feedback.
-
Hi Team,
We are using below docker file. It was working till last week. Yesterday new version is updated. Today we are unable to update and getting the below error.
Docker file:
FROM docker.io/fluent/fluent-bit:latest-debug
USER root
RUN apt-get update && apt-get upgrade -y
Error:
RUN apt-get update && apt-get upgrade -y
0.211 runc run failed: unable to start container process: exec: "/bin/sh": stat /bin/sh: no such file or directory
ERROR: process "/bin/sh -c apt-get update && apt-get upgrade -y" did not complete successfully: exit code: 1
Beta Was this translation helpful? Give feedback.
All reactions