docker-mailcatcher

Dockerimage for mailcatcher SMTP service.
Log | Files | Refs | README

README.md (796B)


      1 # Mailcatcher
      2 
      3 [![Build Status](https://travis-ci.org/beardyjay/docker-mailcatcher.svg?branch=master)](https://travis-ci.org/beardyjay/docker-mailcatcher)
      4 
      5 Super small 36MB image of the latest, pre-release 0.8.0.beta2, of [mailcatcher][1].
      6 
      7 
      8 ## How to Build
      9 
     10   1. `cd` into this directory.
     11   2. Run `docker build -t beardyjay/mailcatcher .`
     12 
     13 
     14 ## How to Use
     15 
     16   1. Pull this image from Docker Hub: `docker pull beardyjay/mailcatcher:latest`
     17   2. Run a container in the foreground: `docker run -p 1080:1080 -p 1025:1025 -ti --rm beardyjay/mailcatcher`
     18   3. Run a container in the background: `docker run -d -p 1080:1080 -p 1025:1025 -ti beardyjay/mailcatcher`
     19 
     20 ## Notes
     21 
     22 Connect to http://127.0.0.1:1080 to view messages send messages to 127.0.0.1:1025
     23 
     24 
     25 [1]: https://rubygems.org/gems/mailcatcher/