Skip to content

Instantly share code, notes, and snippets.

@partkyle
Last active September 14, 2015 18:03
Show Gist options
  • Save partkyle/2e75412d588652f693e1 to your computer and use it in GitHub Desktop.
Save partkyle/2e75412d588652f693e1 to your computer and use it in GitHub Desktop.
Run mailcatcher in docker

mailcatcher

Building:

docker build -t mailcatcher https://gist.githubusercontent.com/partkyle/2e75412d588652f693e1/raw/a3fb27932e98f386854aade1088d3ab6d4b8be00/Dockerfile
FROM ruby:2.1.5
RUN gem install mailcatcher
CMD ["mailcatcher", "-f", "--http-ip", "0.0.0.0", "--smtp-ip", "0.0.0.0"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment