The debug image for fluent-bit v1.0.4 does not contain only additional busybox in comparison to the main build image, but all files from the debian:stretch /bin/ folder including some GNU coreutils tools. Corresponding libraries are sometimes missing, e.g.:
/bin # /bin/ping
./ping: error while loading shared libraries: libcap.so.2: cannot open shared object file: No such file or directory
This could be fixed e.g. by copy just busybox from the builder image and run busybox --install in the debug image.
https://docs.fluentbit.io/manual/installation/docker :
or
https://github.com/fluent/fluent-bit-docker-image/issues/19#issuecomment-461096716
The debug image for fluent-bit v1.0.4 does not contain only additional busybox in comparison to the main build image, but all files from the debian:stretch /bin/ folder including some GNU coreutils tools. Corresponding libraries are sometimes missing, e.g.:
This could be fixed e.g. by copy just
busybox
from the builder image and runbusybox --install
in the debug image.