What is the best way to Configure Docker environment with Magento 2.4. If some know please give me a solution.
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.