Skip to content

Servers & Self-Hosting

Docker & Containers

5 curated resources, easiest first.

Volumes — by Docker Docs

intermediatepage

Docs on persisting container data with volumes, which Docker calls the preferred mechanism, versus bind mounts that tie you to the host's folder layout. Mentions read-only mounts, subdirectory mounts, volume drivers for NFS/CIFS, and the gotcha that mounting over a non-empty directory hides its existing files. Volumes are not removed automatically when a container is deleted.

Packet filtering and firewalls — by Docker Docs

advancedpage

Explains how Docker's iptables rules interact with host firewalls. Published ports are handled in the nat table before ufw's chains see the traffic, so a port you publish can be reachable even if ufw seems to block it. The page advises against editing Docker's rules or turning off its iptables management. Treat any published port as exposed to your network.