What is the best way to Configure Docker environment with Magento 2.4. If some know please give me a solution.
You can use the following docker image
wolfsellers/magento2-cloud-local:linux-apache-phpfpm74
, it is already optimized to run magento 2.4.
Although you will also need elasticsearch 7
You can use these files to setup you docker environment easy to use visit link - https://github.com/markoshust/docker-magento
I hope so it will help you.
I use MeanBee docker for Magento 2: https://github.com/meanbee/docker-magento2 I hope this will help you.