Helmsman Academy
Docker Professional: zero to expert

Storage and networking in depth: volumes, overlay2, bridges, macvlan, the firewall and troubleshooting

6 lessons · about 94 minutes of reading · Helmsman Pro

This page is the public course outline. Lessons, labs, tools and exams open after you sign in to your free account.

Sign in and start

In short

Where data and packets really go: volumes, bind mounts and tmpfs, backups and permissions, overlay2 and data-root, the containerd image store, user-defined bridges and DNS, host, none, macvlan, ipvlan and IPv6, port publishing and the iptables firewall trap, and a repeatable network troubleshooting method.

Before you start: Course 54; basic TCP/IP and subnetting helps.

What you'll learn

Lessons

1. Volumes, bind mounts and tmpfs: keeping data safe

Choose the right mount type, manage named volumes, back them up and restore them, and avoid the permission and ownership traps that catch most teams.

Sign in to open the lesson

2. Storage drivers, overlay2 and data-root: where the bytes really live

Understand overlay2 and copy-on-write, move Docker's data-root to a bigger disk safely, and recognise the containerd image store that newer Docker versions use.

Sign in to open the lesson

3. Container networking: bridges, user-defined networks and DNS

How the default bridge works, why user-defined bridges are better, how embedded DNS finds containers by name, and how to connect containers across networks.

Sign in to open the lesson

4. Host, macvlan, ipvlan, none and IPv6 networks

Know when to use the host network, give containers addresses on the physical LAN with macvlan or ipvlan, lock containers down with none, and enable IPv6.

Sign in to open the lesson

5. Ports, iptables and the firewall trap

How port publishing really works through NAT rules, why published ports bypass UFW and firewalld by default, and how to expose only what you mean to.

Sign in to open the lesson

6. Networking troubleshooting: a repeatable method

A layer-by-layer method for 'it can't connect': name resolution, routes, listening sockets, published ports and firewalls, using netshoot, nsenter and tcpdump.

Sign in to open the lesson

Common questions

Are volumes faster than bind mounts?

On Linux they're about the same; on Docker Desktop, volumes are much faster than bind mounts from the host.

Should I use devicemapper on RHEL?

No; it's deprecated. Use overlay2 on xfs with ftype=1.

Do containers on the same network need -p to talk?

No; -p publishes to the host. Containers on a shared network use container ports directly.

Does macvlan work on Wi-Fi?

Usually not; most Wi-Fi access points reject extra MAC addresses. Use ipvlan or a bridge.

Does this happen with Docker Desktop?

Desktop forwards ports from the VM to the host differently; the bypass is a Linux-server problem.

Is docker debug available everywhere?

It ships with recent Docker Desktop and Docker subscriptions; netshoot and nsenter work on any engine.