DEV Community

loading...

Discussion on: docker-compose up your entire Laravel + Apache + MySQL development environment.

Collapse
veevidify profile image
V Author

The fact that you get a response from the webserver means the docker environment works.

If you get require_once ... vendor/autoload error, then you'd probably missing composer dependencies.

docker exec -it laravel-app bash -c "sudo -u devuser /bin/bash"

gets you inside the container.

devuser@0e382dff6a23:/var/www/html$

then

composer install
php artisan key:generate
php artisan migrate
php artisan config:cache
Collapse
manishsharmait52 profile image
manishsharmait52

okay i will check again .

Thank you .