So im using a docker environment and i have everything set up. If i do docker ps all the containers are running healthy. I did the composer create project command just fine in my sources folder. But when i try to do the
bin/magento setup:install --base-url=http://127.0.0.1 --db-host=db --db-name=mg_teste --db-user=teste_user --db-password=teste123 --admin-firstname=admin --admin-lastname=admin --admin-email=admin@admin.com --admin-user=admin --admin-password=admin123 --language=en_US --currency=EUR --timezone=UTC --use-rewrites=1
inside the sources folder i got a error that is the one in the title.
If i enter in the bash with docker exec -ti magento bash the error is this one
PHP Fatal error: Uncaught Error: Cannot instantiate interface Magento\Store\Api\StoreRepositoryInterface in /var/www/html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:121
Idk what to do.
I have a docker folder that inside has php folder, varnish folder, nginx folder, magento folder,
sources folder , db_data folder and a file that is docker-compose.yml