Sign inSign up

jeschu/mtr

By jeschu

•Updated about 1 year ago

Mac OS is missing mtr tool. It could be installed with Homebrew but has to be run with sudo.

Image
0

100K+

jeschu/mtr repository overview

⁠mtr

Builds a docker image containing mtr (My traceroute).

⁠Changelog

⁠0.95.2
  • added multiplatform build for:
    • linux/amd64
    • linux/arm64
    • linux/arm/v7

⁠Motivation

Mac OS is missing mtr tool. It can be installed with Homebrew⁠ but has to be run with sudo.

⁠Requirements

⁠Installation

Installation requires sudo - you will be prompted for your password.

via curl:

sh -c "$(curl -fsSL https://raw.github.com/jeschu/mtr/master/install-mtr.sh)"

via wget:

sh -c "$(wget https://raw.github.com/jeschu/mtr/master/install-mtr.sh -O -)"

Installs a bash script at /usr/local/bin/mtr. The script executes the following docker run command:
docker run -it --rm --name "mtr-$(uuidgen | cut -c -8)" --hostname "$(hostname)" jeschu/mtr:latest $@

⁠Update

docker pull jeschu/mtr

⁠Uninstall

docker image rm -f jeschu/mtr:latest    # remove docker image
sudo rm -v /usr/local/bin/mtr           # remove shell script

⁠Image on Docker Hub

https://hub.docker.com/r/jeschu/mtr⁠

Tag summary

Content type

Image

Digest

sha256:6929934f5…

Size

4.2 MB

Last updated

about 1 year ago

docker pull jeschu/mtr