Sign inSign up

rordi/docker-mailcatcher

By rordi

•Updated over 8 years ago

Smallest mailcatcher Docker image (12 MB compressed / 31.3 MB uncompressed)

Image
2

100K+

rordi/docker-mailcatcher repository overview

⁠rordi/docker-mailcatcher

A lightweight Docker image with mailcatcher⁠. The smallest mailcatcher Docker image to date with just 12 MB compressed / 31.3 MB uncompressed.

You can pull the image from the Docker registry⁠ and run with:

docker run -d -p 1080:1080 --name mailcatcher rordi/docker-mailcatcher 

To install the image into your network with docker-compose, simply add the following lines to your docker-compose.yml and adjust the network id:

mailcatcher:
  image: rordi/docker-mailcatcher
  container_name: mailcatcher
  ports:
    - 1080:1080
  networks:
   - yournetworkid

Finally, confiugure your application to use the Mailcatcher SMTP on port 1025, e.g. host: mailcatcher:1025. You can access the catched emails on the web GUI via http://localhost:1080⁠.

Please refer to the mailcatcher website⁠ for more information.

Tag summary

Content type

Image

Digest

Size

11.8 MB

Last updated

over 8 years ago

docker pull rordi/docker-mailcatcher