# Container

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

## Metrics

<table><thead><tr><th>Metric</th><th width="120">Unit</th><th width="299.3333333333333">Description</th></tr></thead><tbody><tr><td>container_cpu_util</td><td>CPUs</td><td>The number of CPUs (or fraction of CPUs) allowed for a container</td></tr><tr><td>container_cpu_used</td><td>percents</td><td>CPUs used by the container per second</td></tr><tr><td>container_cpu_throttle_time</td><td>CPUs</td><td>CPUs used by the container per second</td></tr><tr><td>container_cpu_limit</td><td>percent</td><td>The number of CPUs (or fraction of CPUs) allowed for a container</td></tr><tr><td>container_mem_util_nocache</td><td>percent</td><td>Percentage of memory used with respect to the limit. Memory used includes all types of memory, including file system cache</td></tr><tr><td>container_mem_util</td><td>percent</td><td>Percentage of working set memory used with respect to the limit</td></tr><tr><td>container_mem_used</td><td>bytes</td><td>The total amount of memory used by the container. Memory used includes all types of memory, including file system cache</td></tr><tr><td>container_mem_limit</td><td>bytes</td><td>Memory limit for the container</td></tr><tr><td>container_mem_working_set</td><td>threads</td><td>Current working set in bytes</td></tr><tr><td>container_mem_limit_hits</td><td>hits/s</td><td>Number of times memory usage hits memory limit per second</td></tr></tbody></table>

## Parameters

<table><thead><tr><th width="210">Parameter</th><th width="97">Type</th><th width="96">Unit</th><th>Default</th><th>Domain</th><th width="92">Restart</th><th width="207">Description</th></tr></thead><tbody><tr><td>limits_cpu</td><td>integer</td><td>CPUs</td><td>0.7</td><td><code>0.1</code> → <code>100.0</code></td><td></td><td>Limits on the amount of CPU resources usage in CPU units</td></tr><tr><td>requests_cpu</td><td>integer</td><td>megabytes</td><td>0.7</td><td><code>0.1</code> → <code>100.0</code></td><td></td><td>Limits on the amount of memory resources usage</td></tr><tr><td>limits_memory</td><td>integer</td><td>CPUs</td><td>128</td><td><code>64</code> → <code>64000</code></td><td></td><td>Amount of CPU resources requests in CPU units</td></tr><tr><td>requests_memory</td><td>integer</td><td>megabytes</td><td>128</td><td><code>64</code> → <code>64000</code></td><td></td><td>Amount of memory resources requests</td></tr></tbody></table>
