--- url: "https://c4model.com/diagrams/container" titulek: "Container diagram | C4 model" h1: "Container diagram" popis: "The C4 model for visualising software architecture (official website)" jazyk: "en-US" kanonicka: "https://c4model.com/diagrams/container" drobecky: ["Diagrams", "2. Container diagram"] zdroj: "live" wayback_snapshot: "" stazeno: "2026-09-14 01:17:07" znaku: 1624 slov: 231 kodovani: "utf-8" sha256: "3d34824b5c7aa794afc659e4dfb6a3b5df4ab4b6bce2273fe098066209e5ae14" --- # Container diagram Once you understand how your system fits in to the overall IT environment, a useful next step is to zoom in to the system boundary with a container diagram. In C4, a [container](/abstractions/container) is an application or a data store. For example, a server-side web application, a client-side single-page application, a desktop application, a mobile app, a database schema, a folder on a file system, an Amazon Web Services S3 bucket, etc. The container diagram shows the high-level shape of the software architecture and how responsibilities are distributed across it. It also shows the major technology choices and how the containers communicate with one another. It’s a simple, high-level technology focussed diagram that is useful for software developers and support/operations staff alike. ## Example ### Diagram key ## Scope A single software system. ## Primary elements Containers within the software system in scope. ## Supporting elements People and software systems directly connected to the containers. ## Intended audience Technical people inside and outside the software development team; including software architects, developers and operations/support staff. ## Recommended? Yes, a container diagram is recommended for all software development teams. ## Notes This diagram says very little about deployment aspects such as clustering, load balancers, replication, failover, etc because it will likely vary across different environments (e.g. production, staging, development, etc). Deployment information is better captured via one or more [deployment diagrams](/diagrams/deployment), one per environment.