SANOG 41 DNS workshop
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

MTR Report

(This lab is only for primary server)

Module 2 - Create a Ubuntu Container

Create a Ubuntu container with the image ubuntu:22.04, install mtr utility, run mtr against and save report on the hostmachine.

(U) Create container, disconnect & keep bash running

docker run -d --name=mtr -it -v /home/u01/mtr:/mnt/mtr ubuntu:22.04 /bin/bash

Verify container exists and is up:

docker container list

Next, enter the container:

docker container exec -it mtr /bin/bash

Now inside container, install mtr:

apt update && apt install -y mtr

Run mtr report and save at /mnt/mtr/

mtr -wr > /mnt/mtr/

Exit container using the command exit.

If all good, move to the next lab