Microservice Toolbox (MBOX)
I designed this for testing and building microservices. This Alpine Docker image is packed full of tools for interacting with containers, service meshes, Kafka, and other application development needs. Being that I’m a .NET developer this is geared towards tools that align with that however, pull requests are welcomed!
WARNING: This is a work in progress. I’ll be adding and expanding this image and this blog post.
GitHub: Microservice Toolbox (MBOX)
Why?
So, there are several reasons to use this. For one, being that this is a Docker image it’s portable and can be taken anywhere. I built this because we can’t use WSL 2 at work because there are Cisco VPN issues that cause WSL 2 to not have Internet when connected. I was stuck in PowerShell following Kubernetes tutorials online that used Bash… Without having support for Docker in WSL 1 I was forced to use PowerShell. Which eventually became frustrating!
Run in Docker
There are several ways this can be ran. Be sure to look at the configuration
Running Locally on Windows (PowerShell)
Assuming you have Kubernetes contexts configured locally, minikube, and Docker installed this is a good way of interacting with your host machine. This script binds to the host and mounts the Docker socket to the container.
docker run -it --rm --name mbox --network host --hostname mbox -v mbox:/mbox -v work:/work -v $env:userprofile/.kube:/root/.kube -v $env:userprofile/.minikube:/root/.minikube -v //var/run/docker.sock:/var/run/docker.sock mrjamiebowman/mbox /bin/bash
Tools
I’ve packed this image full of tools for development and managing a Kubernetes cluster.
App Dev
- git
- vim
- jmeter
- curl
- jq
- wget
- yq
- html2text
Programming Languages
- dotnet
- python
- golang
Database Dev
- mysl client
- mssql client
Containerization
- Docker
- Docker Compose
- kubectl
- kubens
- kubectx
- Kustomize
- Istio
- LinkerD
Networking
- netcat
- socat
Infrastructure as Code (IoC)
- Terraform
- Ansible
Scripts
Currently, I don’t have any documentation but I will create docs and scripts that are useful.