Home>Article>Operation and Maintenance> What is the difference between docker installation of mysql and direct installation?
Difference: 1. Docker installation is faster and more efficient than direct installation; 2. Docker installation has good isolation and does not interfere with each other; 3. The performance of docker installation is close to that of native installation, while the performance of direct installation is close to that of native installation. The performance is low; 4. Docker's uninstallation management is more convenient, just delete the container and image directly.
The operating environment of this tutorial: linux7.3 system, docker-1.13.1 version, Dell G3 computer.
1. Docker installation is fast and efficient;
2. Docker has good isolation and can install countless mysql instances. , do not interfere with each other, as long as the mapped host ports are different;
3. Occupy less resources, MB level, while the server installation is GB level;
4. The startup speed is seconds, while the server installation Startup minute level;
5. Performance is close to native, but server installation is low;
6. Data backup and migration, docker is more convenient and powerful;
7. Uninstall management More convenient and clean, just delete the container and image directly;
8. Stability, as long as there is no problem with the docker environment, mysql will be fine.
Recommended learning: "docker video tutorial"
The above is the detailed content of What is the difference between docker installation of mysql and direct installation?. For more information, please follow other related articles on the PHP Chinese website!