MySQL 8.0 Reference Manual Including MySQL NDB Cluster 8.0

2.5.6 Deploying MySQL on Linux with Docker Containers

This section explains how to deploy MySQL Server using Docker containers.

While the docker client is used in the following instructions for demonstration purposes, in general, the MySQL container images provided by Oracle work with any container tools that are compliant with the OCI 1.0 specification.


Before deploying MySQL with Docker containers, make sure you understand the security risks of running containers and mitigate them properly.