Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
How to create docker container and run different version of php in laravel sail?
-
I would like to install laravel 8 with php version 8 but my local php version is 7.4 so I'm opting for laravel sail. Docker is already installed and docker-compose.yml has
context: ./vendor/laravel/sail/runtimes/8.0
Now according to documentation when I try to
composer require laravel/sail
Or
php artisan sail:install
It gives me dependency error or php version. How do I create docker container with laravel sail? Do I need to create a separate docker container with correct php version and run laravel sail inside that?