I use docker to package the image from ubuntu, and install the same docker binary package in ubuntu respectively. The version is the same. Only the image under Ubuntu can run successfully. May I ask why? Isn’t docker platform independent? And it’s all linux. Is it related to linux kernel?
Related to kernel and docker software version.
Generally speaking, ubuntu’s software package is the latest in the distribution of linux.
Centos and redhat packages are really low in version.
For example, ubuntu’s gcc has reached 5.4. Centos’s 4.2.x results also prevented many nodejs’ binary packages from compiling (4.2.x does not support the c++11 standard)