Alpine container with MySQLTuner.
This container is periodicaly updated to always contains the latest version of MySQLTuner.
docker run -it --rm dsuite/mysqltuner \
--host <hostname> \
--user <username> \
--pass <password> \
--forcemem <size> \
--forceswap <size>
Since this docker contianer will always be communicating with a remote MySQL instance, use:
--forcemem
to define amount of RAM installed in megabytes.
--forceswap
to define amount of swap memory configured in megabytes.
For a list of all MySQLTuner options, run: docker run -it --rm dsuite/mysqltuner --help