Giter VIP home page Giter VIP logo

docker-mailhog's Introduction

mailhog 1.0.x

Gearbox

MailHog Docker Container for Gearbox

This is the repository for the MailHog Docker container implemented for Gearbox. It currently provides versions 1.0.x

Supported tags and respective Dockerfiles

1.0.0, 1.0, latest (1.0.0/Dockerfile)

Using this container.

If you want to use this container as part of Gearbox, then use the Docker Hub method. Or you can use the GitHub method to build and run the container.

Using it from Docker Hub

Links

(Docker Hub repo)[https://hub.docker.com/r/gearbox/mailhog/]

(Docker Cloud repo)[https://cloud.docker.com/swarm/gearbox/repository/docker/gearbox/mailhog/]

Setup from Docker Hub

A simple docker pull gearbox/mailhog will pull down the latest version.

Runtime from Docker Hub

start - Spin up a Docker container with the correct runtime configs.

docker run -d --name mailhog-1.0.0 --restart=always --network gearboxnet -p 8025:8025 -p 1025:1025 gearbox/mailhog:1.0.0

stop - Stop a Docker container.

docker stop mailhog-1.0.0

run - Run a Docker container in the foreground, (all STDOUT and STDERR will go to console). The Container be removed on termination.

docker run --rm --name mailhog-1.0.0 --network gearboxnet -p 8025:8025 -p 1025:1025 gearbox/mailhog:1.0.0

shell - Run a shell, (/bin/bash), within a Docker container.

docker run --rm --name mailhog-1.0.0 -i -t --network gearboxnet -p 8025:8025 -p 1025:1025 gearbox/mailhog:1.0.0 /bin/bash

rm - Remove the Docker container.

docker container rm mailhog-1.0.0

Using it from GitHub repo

Setup from GitHub repo

Simply clone this repository to your local machine

git clone https://github.com/gearboxworks/mailhog-docker.git

Building from GitHub repo

make build - Build Docker images. Build all versions from the base directory or specific versions from each directory.

make list - List already built Docker images. List all versions from the base directory or specific versions from each directory.

make clean - Remove already built Docker images. Remove all versions from the base directory or specific versions from each directory.

make push - Push already built Docker images to Docker Hub, (only for Gearbox admins). Push all versions from the base directory or specific versions from each directory.

Runtime from GitHub repo

When you cd into a version directory you can also perform a few more actions.

make start - Spin up a Docker container with the correct runtime configs.

make stop - Stop a Docker container.

make run - Run a Docker container in the foreground, (all STDOUT and STDERR will go to console). The Container be removed on termination.

make shell - Run a shell, (/bin/bash), within a Docker container.

make rm - Remove the Docker container.

make test - Will issue a stop, rm, clean, build, create and start on a Docker container.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.