Questions about docker Mirror

one thing I don"t understand when using docker:
is there any difference between pull a mysql from an official image and then run it on my machine? is there any difference between using Dockerfile to first pull a centos image and then installing a mysql on this image to form a new image?
ask the gods for advice


official images are not necessarily made by centos, using a stripped-down version of Alpine, and the resulting images are very compact and compact.
secondly, if you build an image yourself, it will result in a large image if you don't properly handle the files generated in the middle.
finally, not everyone knows, believes and dares to use the official image. You generally can't spread and use it better.

Menu