Current location - Health Preservation Learning Network - Slimming men and women - Docker builds images and initialization scripts based on mysql:5.7.
Docker builds images and initialization scripts based on mysql:5.7.
Problems encountered: Intranet environment, installing docker

Solution: refer to/a/1kloc-0/9000022982415.

First, start building (writing Dockerfile)

Second, the construction

Third, the operation

Fourth, verify whether the data script is successfully initialized (psp)

Verb (abbreviation of verb) automates script execution (init_mysql.sh)