Networks and volumes: your container reaches the management network

Lab 3 of 3 published in this path

PREMIUM LAB · LAB-DKR-003

This lab is part of Lab Access

Compare Docker's bridge and host networks on the way to three Cisco IOS XE routers, bind-mount the inventory and keep running-config backups in a named volume with Docker Compose.

Level
Intermediate
Time
50–70 min
Environment
CML · Ubuntu + 3 × C8000V
You will end with
Versioned router backups in a named volume
LAB-DKR-003 topology in Cisco CML: Ubuntu control node with Docker Engine and Compose, ens3 192.0.2.10/24 on the MGMT unmanaged switch with R1 Gi1 192.0.2.11/24, R2 Gi1 192.0.2.12/24 and R3 Gi1 192.0.2.13/24 (Catalyst 8000V, RESTCONF 443 and SSH 22). Inside Ubuntu, the netcheck:1.2 container on the docker0 bridge 172.17.0.0/16 is masqueraded to 192.0.2.10; inventory.txt is bind-mounted read-only at /data and the named volume router-backups is mounted at /backups.
Lab topology

What the lab includes

  • Every step with the exact commands and the expected output
  • Commented solution and troubleshooting guide
  • All premium labs of every path, including past seasons
  • On Pro: the lab kit, with PDFs (EN/PT-BR), CML topology and full code

Lab Access · US$ 19/month

Unlock with PatreonSee the plans