A workaround is to edit the config in the MySQL container:
docker exec -ti mysql /bin/bash Then, edit /run/mysql/my.cnf In the container shell itself, supervisorctl restart mysqlNote that changes are not persistent across updates (but persists across reboots).