Deepfactor intercepts libc (C Standard Library) functions in your running application. Two popular implementations of libc are glibc and musl libc. glibc is used in most linux distributions such as Ubuntu, CentOS, SUSE etc, where Alpine base images use musl libc.
You can read about musl libc and the differences between the two implementations in the following articles
Based on the container image OS distribution, Deepfactor injects the right interception code compatible with glibc or musl into your container. Glibc and musl require a different version of the Deepfactor interception library. However, there are scenarios where your container may have both glibc and musl implementations of libc.
Example: You are launching a java spring boot application in your alpine container using a script. In this case, the shell will use the musl libc present on the OS, but java spring boot application uses glibc which is packaged along with the application. In order to address such scenarios, we have built in an auto detection mechanism.