MySQL 9.3 Reference Manual Including MySQL NDB Cluster 9.3

17.8.12 Container Detection and Configuration

As of MySQL 9.3.0, if installed in a container, the server automatically reads the container's CPU and memory resource limits. The values for the following system variables are calculated and set based on those resource limits: