Docker Community Forums

Share and learn in the Docker community.

Need Help in installing mailcatcher

I have a docker desktop installed. I have setup my magento2 project. My project is up and running.

Now, I wanted to install mailcatcher.
I have found a new container for mailcatcher, I install and run that container. But that container is running separately and not receiving any email.

How can I connect my mailcatcher container to my (php-magento2) project container.
I don’t have any docker.compose.yaml file. I simply make my project up and running by following below documentation
MGT Development Environment - Installation | MGT-COMMERCE | Knowledge Base)