Absolute newcomer to Magento, need Docker help.

I am tasked with creating a Magento plugin/extension or whatever it’s called in Magento.

The company already has implemented said plugin for other ecommerce platforms and wants to develop one for Magento and that’s where I come in.

I have 0 experience with Magento so I am tasked with doing all the research and the implementation with one requirement only: “Work with Docker”.

I have been trying for the past 2 days to setup a very simple 2.4.0 magento version in docker (with windows wsl). I have no managed to find any official image that works out of the box.

The only one I had minor success with, is this one: https://hub.docker.com/r/bitnami/magento/#! but I am having issues with setting up xDebug on it.

I can see most people use this one: https://github.com/markshust/docker-magento (which I also found by searching in this subreddit’s searchbar) but I cannot get Magento 2.4.0 to work since this is the minimum version we want to support with this implementation.

Markshust repository, returns these errors after trying to install it: https://i.imgur.com/c5w0PUU.png

So is there a simple 2.4.0 magento docker-compose.yml I can find somewhere along with the env variables available, so that I can actually start working on the implementation or have people accepted that Docker is not popular within the Magento community?

What are my next step?

submitted by /u/AlkaKr
[link] [comments]