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?