A minimal Docker image to run Mailcatcher. Based on Alpine Linux.
The default command this image runs is:
/usr/bin/mailcatcher --smtp-ip=0.0.0.0 --http-ip=0.0.0.0 --http-port=1080 --smtp-port=1025 --foreground
You may override the argument string by passing in a new arg string as shown below:
# Runing Mailcatcher with defaults
docker run -p 127.0.0.1:1080:1080 -p 127.0.0.1:1025:1025 500px/mailcatcher
# Running Mailcatcher, passing in a different arg string
docker run -p 127.0.0.1:1080:8080 -p 127.0.0.1:1025:1025 500px/mailcatcher --smtp-ip=0.0.0.0 --http-ip=0.0.0.0 --http-port=8080 --smtp-port=1025 --foreground
View the Mailcatcher license information.