I have webdevops/php-apache-dev:8.0 and latest mariadb images docker, running in Windows.
My issue: when I run a Laravel or Yii2 migration via console (docker exec -ti php-container php artisan migrate for Laravel, docker exec -ti php-container php yii migrate for Yii2), I always get in error MySQL server has gone away, but it happens only when my docker images are in Windows, but if I run the same docker-compose file in Linux, it runs the commands without any issue.
I have webdevops/php-apache-dev:8.0 and latest mariadb images docker, running in Windows.
My issue: when I run a Laravel or Yii2 migration via console (
docker exec -ti php-container php artisan migratefor Laravel,docker exec -ti php-container php yii migratefor Yii2), I always get in errorMySQL server has gone away, but it happens only when my docker images are in Windows, but if I run the same docker-compose file in Linux, it runs the commands without any issue.