3-6 dkfile Grammar carding and Best practices
Create your own docker image through dockerfile
From
Try to use the official image as the base image
Label metadata is indispensable, similar to comments in code.
Run is used to install the software, and every time run is run, it is a new layer for image.
Workdir
The use of env can increase maintainability and should be used as much as possible
Https://github.com/docker-library/mysql
Https://github.com/docker-library/redis