Skip to content

Docker

Running and managing containerized services with Docker Compose.Bascically all the services I run are ran as compose stacks.

  • Installation


    Installing Docker Engine and the Compose plugin on Debian.

  • Post-Installation


    Non-root access, socket permissions, and initial configuration.

  • Compose Reference


    Anatomy of a compose.yaml — services, environment, volumes, networks, healthchecks, and restart policies.

  • Networks


    Bridge, host, and macvlan networks. External networks for cross-stack communication.

  • Volumes


    Named volumes vs bind mounts, the /opt/docker directory convention, and external volumes.

  • DNS in Containers


    The dns: key in compose and resolving .internal hostnames from containers.

  • Security


    Non-root users, .env file permissions, read-only mounts, and socket exposure.

  • Cheatsheet


    Command reference, update workflows, volume backups, and environment variable patterns.