> For the complete documentation index, see [llms.txt](https://docs.akamas.io/akamas-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.akamas.io/akamas-docs/3.6/reference/optimization-packs/docker-pack/container.md).

# Container

This page describes the Optimization Pack for the component type (Docker) Container.

## Metrics

| Metric                         | Unit     | Description                                                                                                                |
| ------------------------------ | -------- | -------------------------------------------------------------------------------------------------------------------------- |
| container\_cpu\_util           | CPUs     | The number of CPUs (or fraction of CPUs) allowed for a container                                                           |
| container\_cpu\_used           | percents | CPUs used by the container per second                                                                                      |
| container\_cpu\_throttle\_time | CPUs     | CPUs used by the container per second                                                                                      |
| container\_cpu\_limit          | percent  | The number of CPUs (or fraction of CPUs) allowed for a container                                                           |
| container\_mem\_util\_nocache  | percent  | Percentage of memory used with respect to the limit. Memory used includes all types of memory, including file system cache |
| container\_mem\_util           | percent  | Percentage of working set memory used with respect to the limit                                                            |
| container\_mem\_used           | bytes    | The total amount of memory used by the container. Memory used includes all types of memory, including file system cache    |
| container\_mem\_limit          | bytes    | Memory limit for the container                                                                                             |
| container\_mem\_working\_set   | threads  | Current working set in bytes                                                                                               |
| container\_mem\_limit\_hits    | hits/s   | Number of times memory usage hits memory limit per second                                                                  |

## Parameters

| Parameter        | Type    | Unit      | Default | Domain          | Restart | Description                                              |
| ---------------- | ------- | --------- | ------- | --------------- | ------- | -------------------------------------------------------- |
| limits\_cpu      | integer | CPUs      | 0.7     | `0.1` → `100.0` |         | Limits on the amount of CPU resources usage in CPU units |
| requests\_cpu    | integer | megabytes | 0.7     | `0.1` → `100.0` |         | Limits on the amount of memory resources usage           |
| limits\_memory   | integer | CPUs      | 128     | `64` → `64000`  |         | Amount of CPU resources requests in CPU units            |
| requests\_memory | integer | megabytes | 128     | `64` → `64000`  |         | Amount of memory resources requests                      |


---

# 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://docs.akamas.io/akamas-docs/3.6/reference/optimization-packs/docker-pack/container.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.
