The blog about containerisation, virtual machines and useful shell snippets and findings

How to launch MySQL in docker with collation and charset

You can use following line in service description in docker-compose.yml for mysql database

command: mysqld --character-set-server=utf8 --collation-server=utf8_general_ci