MySQL 26.10 Reference Manual  /  ...  /  Container Detection and Configuration

17.8.12 Container Detection and Configuration

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: