MailCatcher runs a super simple SMTP server which catches any message sent to it to display in a web interface.
Pull the image from the docker index. This is the recommended method of installation as it is easier to update image. These builds are performed by the Docker Trusted Build service.
docker pull dockage/mailcatcher:0.8.2Alternately you can build the image locally.
git clone https://github.com/dockage/mailcatcher.git
cd mailcatcher
docker build --tag="$USER/mailcatcher" .The quickest way to get started is using docker-compose.
wget https://raw.githubusercontent.com/dockage/mailcatcher/master/docker-compose.yml
docker-compose upAlternately, you can manually launch the mailcatcher container.
docker run --name='mailcatcher' -d \
--publish=1080:1080 \
--publish=1025:1025 \
dockage/mailcatcher:0.8.2