fluent / fluent-bit-docker-image

Docker image for Fluent Bit
https://hub.docker.com/r/fluent/fluent-bit/
Apache License 2.0
67 stars 75 forks source link

Debug image contains not only busybox, but other binaries from debian:stretch /bin/ #21

Open xanonid opened 5 years ago

xanonid commented 5 years ago

https://docs.fluentbit.io/manual/installation/docker :

Optionally, we provide debug images which contains Busybox that can be used to troubleshoot or testing purposes.

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.:

/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.