root@0f6852dfee81:/# mysql --version
mysql  Ver 14.14 Distrib 5.7.18-16, for debian-linux-gnu (x86_64) using  6.3

mysqld --initialize --user=mysql --datadir=/var/lib/mysql

 

mysqld --initialize-insecure --user=mysql --datadir=/var/lib/mysql

 

mysqld --console --log-bin=mysql-bin --log_slave_updates=ON --gtid-mode=ON --enforce-gtid-consistency=ON