How to run magento 2 usig docker? shall implement in local for run magento 2 using or creating docker ,I need to know how to implement docker with magento 2 in local kindly help me?
I would try to follow some tutorials to understand how docker works. Here is a great start: https://tech.osteel.me/posts/docker-for-local-web-development-part-1-a-basic-lemp-stack
Just doing part 1 of that tutorial can clear up a lot of things. I highly recommend it.
If you need a quick setup, you can copy some of my settings from here for Magento 2 install: Nginx throwing 404 - Magento 2 Docker Environment for Windows 10
There is also good tutorial from MageModule team: https://www.youtube.com/watch?v=QTXRYKRldiU
I took the magento cloud docker
I pulled it apart and got open source running on it
Then wrote a quickstart guide
I've got 2.4 running with elastic search
I hope this helps someone