INNOG 8 - Introduction to Containers
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

MTR Report

Module 2 - Create a Ubuntu Container

Create a Ubuntu container with the image ubuntu:24.04, install mtr utility, run mtr against innog.net and save report on the host machine.


Create container, disconnect & keep bash running

docker run -d --name=mtr -it -v /home/a01/mtr:/mnt/mtr alpine:latest /bin/sh

Verify container exists and is up:

docker container list

Next, enter the container:

docker container exec -it mtr /bin/sh

Now inside container, install mtr:

apk add mtr

Run mtr report and save at /mnt/mtr/innog.net-mtr.txt

mtr -wr innog.net > /mnt/mtr/innog.net-mtr.txt

Exit container using the command exit.

If all good, move to the next lab