This document discusses Linux containers and PostgreSQL in Docker containers. It begins with an overview of containers, their advantages and disadvantages compared to virtual machines. It then discusses different implementations of containers like LXC and systemd-nspawn. A large portion of the document is dedicated to Docker containers - how to install, use images and volumes, and common commands. It concludes with best practices for running PostgreSQL in Docker containers, including mounting data volumes, linking containers, checking stats and processes.