Note! I use Docker latest tag for development, which means that it isn't allways working. Date tags are stable.
A small and secure Docker image of the Mariadb client, mysql (currently 10.3.9).
Can drop all but CHOWN, DAC_OVERRIDE, FOWNER, SETGID and SETUID.
Check also out huggla/mariadb-alpine and huggla/mariadb-backup.
docker pull huggla/mariadb-client:latest