> For the complete documentation index, see [llms.txt](https://experience-digital-transform.gitbook.io/experience-digital-transformation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://experience-digital-transform.gitbook.io/experience-digital-transformation/cloud-for-dpi/chapter-2/containers-give-applications-a-clearer-unit-of-operation.md).

# Containers give applications a clearer unit of operation

A public service may have a web interface, an application programming interface, a document-processing function and a notification task. Each is part of the same public outcome, but they can have different technical roles. As the number of components and services grows, undocumented changes on long-lived servers become harder to review, update and recover.

Containers address part of that problem. A container packages an application component with the runtime files it needs. It gives a team a clear unit to run, update and replace. If a component must be deployed in several environments, the package can reduce the differences that arise from hand-built server changes.

A container and a virtual machine are related but different. A virtual machine provides an operating boundary with allocated compute, storage and networking. A container packages one part of an application that runs inside an approved environment. A service may use virtual machines, containers or both. Neither is a complete public-service boundary on its own.

A virtual machine can return while identity remains unavailable. A container can be replaced while persistent data, an interface or a certificate relationship is still broken. Containers make application components easier to handle. They do not decide whether a service is trustworthy, recoverable or ready for the public.

<figure><img src="https://1406653965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkZFMZ3jCMUwHtTN0sL4J%2Fuploads%2Fgit-blob-2f0d4db4ffea9e0e5865e6bb28d52d1fb8a41a1d%2Ffinal.png?alt=media" alt="Containers provide a common workload runtime: the cloud foundation supports containers and orchestration, while data and backups, network policy, identity and secrets, logs and monitoring, and operational ownership still need explicit treatment."><figcaption><p>Figure 3. Containers package an application and its runtime dependencies. Orchestration helps operate many such workloads consistently. Neither replaces the service-specific work of protecting state, controlling access, observing behaviour, and assigning ownership.</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://experience-digital-transform.gitbook.io/experience-digital-transformation/cloud-for-dpi/chapter-2/containers-give-applications-a-clearer-unit-of-operation.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
