Public | Automated Build

Last pushed: 2 years ago
Short Description
Docker Image for mailcatcher to support the Wercker build
Full Description

mailcatcher docker image

Here is an unofficial Dockerfile for mailcatcher.

You can find several versions of this image in the dedicated docker hub page.
It is a pretty light image: ~ 135 MB uncompressed.


Get it:

docker pull tophfr/mailcatcher

Run it:

docker run -d -p 1080:80 --name smtp tophfr/mailcatcher

Link it:

docker run -d --link smtp -e SMTP_HOST=smtp --name php56 tophfr/php:5.6

Then you can send emails from your app and check out the web interface: http://\<your docker host\>:1080/.

If you want to send emails from your host you can map the 25 port:

docker run -d -p 1080:80 -p 1025:25 --name mail tophfr/mailcatcher

then send yout emails through your docker host on port 1025 (or any port you want)


Just clone this repo and run:

docker build -t tophfr/mailcatcher .
Docker Pull Command
Source Repository