Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Experiment: Docker extension #11

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

Conversation

Lewiscowles1986
Copy link
Collaborator

@Lewiscowles1986 Lewiscowles1986 commented Mar 25, 2023

This is just me kicking the tyres on how easy / hard it is to create a docker-desktop extension from an existing docker image.

Luckily MailHog has a UI project which is a lot of static assets, I assume will work using it's UI. We'll see.

Update:

It works

  • It seems to work best with an SVG logo image, so I may need to do one of those for MailHog.
  • I had to open the ports, not just expose them. Unsure why Localstack doesn't need to do this.
  • The UI needed a frontend variable set. Because the port for WebUI is fixed for this, that made things simpler.
  • Just used the public 8025 port; localstack told me Docker had asked them to not expose their localstack image (separate to extension image for them, I just modified my shipped image in this branch)

MailHog UI embedded within Docker Desktop using their Docker Desktop extensions

Docker Desktop Manage Extensions UI

@Lewiscowles1986 Lewiscowles1986 marked this pull request as ready for review March 25, 2023 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant