Por algum motivo, o container executa, consigo acessar o container usando o bash contudo, o serviço do mysql não sobe. Após alguns minutos (uns 2 min), o container encerra sua execução. Coletei os logs para analise.
... 2019-11-01T18:12:01.935757Z 0 [Warning] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory. 2019-11-01T18:12:01.959231Z 0 [Note] Event Scheduler: Loaded 0 events 2019-11-01T18:12:01.960004Z 0 [Note] mysqld: ready for connections. Version: '5.7.28' socket: '/var/run/mysqld/mysqld.sock' port: 0 MySQL Community Server (GPL) 2019-11-01 18:12:02+00:00 [Note] [Entrypoint]: Temporary server started. Warning: Unable to load '/usr/share/zoneinfo/iso3166.tab' as time zone. Skipping it. Warning: Unable to load '/usr/share/zoneinfo/leap-seconds.list' as time zone. Skipping it. Warning: Unable to load '/usr/share/zoneinfo/zone.tab' as time zone. Skipping it. Warning: Unable to load '/usr/share/zoneinfo/zone1970.tab' as time zone. Skipping it. 2019-11-01 18:12:48+00:00 [Note] [Entrypoint]: Creating database empresa 2019-11-01 18:12:48+00:00 [Note] [Entrypoint]: Creating user root ERROR 1396 (HY000) at line 1: Operation CREATE USER failed for 'root'@'%'
Alguém poderia me ajudar?