---
title: The base device size should not be changed until needed
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: >-
  Docs > Datadog Security > OOTB Rules > The base device size should not be
  changed until needed
---

> For the complete documentation index, see [llms.txt](https://docs.datadoghq.com/llms.txt).

# The base device size should not be changed until needed
Classification:complianceFramework:cis-dockerControl:2.12 
## Description{% #description %}

The devicemapper base device size should keep its default until a workload needs more.

## Rationale{% #rationale %}

The base device size caps the root filesystem of every container on devicemapper. A larger size lets each container fill more of the host disk.

## Audit{% #audit %}

Look for `dm.basesize` among the storage options:

```bash
ps -o args= -C dockerd
grep 'dm.basesize' /etc/docker/daemon.json
```

Datadog reads `--storage-opt` on the dockerd command line or, if it isn't set there, `storage-opts` in `daemon.json`. It passes the rule when no storage option sets `dm.basesize` and fails it when one does.

## Remediation{% #remediation %}

Remove `dm.basesize` from the storage options. Then restart the daemon with `systemctl restart docker`.

## Impact{% #impact %}

None.

## Default value{% #default-value %}

The base device size is 10 GB.

## References{% #references %}

1. [https://docs.docker.com/reference/cli/dockerd/#storage-driver-options](https://docs.docker.com/reference/cli/dockerd/#storage-driver-options)
