In our last blog post we showed you the new docker init executable pid1. What if we wanted to use our shiny new pid1 binary on a CentOS Docker image but we compiled it on Ubuntu? The answer is that it wouldn’t likely work. All Linux flavors package things up a little differently and with different versions and flags. If we were to compile pid1 completely static it could be portable (within a given
![Static compilation with Stack - FP Complete](https://cdn-ak-scissors.b.st-hatena.com/image/square/5f37be89b3549c48b490411980007603a05404b1/height=288;version=1;width=512/https%3A%2F%2Fwww.fpcomplete.com%2Fwp-content%2Fuploads%2F2023%2F08%2Ffunctional.png)