I am using it
LNMPEnvironment, I use
centosThe mirror image of the, and then in the
LNMPThe environment, I installed
mysqlThis was followed by another one.
commitWhen the mirror size is finished
282M, and then I entered again
Yum install phpAfter completion
commitAfter a while, the mirror size changed to
659M, why is this so, why is the growth so big?
When installing programs through yum, many temporary files will be generated and many unnecessary software packages will be installed as recommended software. The image will naturally become larger.
In addition, it is better not to run all programs in one container, but to build services through container layout.