We are a bunch of academics who have worked on debloating tools for containers and we just released our code with an MIT license to Github: <a href="https://github.com/negativa-ai/BLAFS">https://github.com/negativa-ai/BLAFS</a><p>A full description of the work is here: <a href="https://arxiv.org/abs/2305.04641" rel="nofollow">https://arxiv.org/abs/2305.04641</a><p>We have tested the tool on many containers. For the top 20 pulled docker containers, the savings are up to 95% with all the containers working. We have done the same tests with slim-toolkit and it was only able to debloat 8 out of 20. We are looking at making this more automated for users.<p>Now, we only support docker, but we are working on podman and lXCs. We are also working on a version that guarantees generality (i.e., we give you 100% guarantees that your container will always work) with zero requirements to profile.<p>Please do try it and let us know what you think! All feedback is welcome!