Sign inSign up

ghusta/fakesmtp

By ghusta

•Updated 3 months ago

FakeSMTP. Based on OpenJDK with Java 17/21/25. Multi-architecture.

Image
6

100K+

ghusta/fakesmtp repository overview

⁠docker-fakesmtp

Docker pulls

Another docker image for FakeSMTP (https://github.com/Nilhcem/FakeSMTP⁠)

⁠Overview

FakeSMTP⁠ is a Free Fake SMTP Server with GUI for testing emails in applications easily. It is written in Java.

⁠Docker

⁠Dockerfile

See original there⁠.

⁠Usage

This allows you to run a SMTP server for testing applications which send mail. Each mail is written to a file in /var/mail

Starting a container :

docker run -d -p 2525:25 -v /tmp/fakemail:/var/mail ghusta/fakesmtp:2.0

See also docker usage on the original project⁠.

⁠Refactoring

I use openjdk as base image, as java image is now deprecated (see https://hub.docker.com/_/java/⁠). Furthermore, I use the JRE version, as JDK is not necessary (image openjdk:8-jre for example).

⁠Available OpenJDK Docker images

Not all versions or alternatives (jdk, jre, slim, etc.) are available.

See which ones there : Update to version X on base os Y⁠.

At the moment, OpenJDK 8 and 11 Docker images are based on the versions published here : https://adoptopenjdk.net/upstream.html⁠ .

Tag summary

Content type

Image

Digest

sha256:a0bb84d20…

Size

113.4 MB

Last updated

3 months ago

docker pull ghusta/fakesmtp