> For the complete documentation index, see [llms.txt](https://devops.books.c-k.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://devops.books.c-k.dev/windows-docker/increase-the-default-windows-containers-storage.md).

# Increase the default Windows container's storage

## Docker engine configuration file options

The default storage of Windows container is 20GB. To increase it, you need to create a config file and restart the docker engine.

The default location of the configuration file on Windows is `%programdata%\docker\config\daemon.json`

This is a full example of the allowed configuration options on Windows:

```
{
    "authorization-plugins": [],
    "data-root": "",
    "dns": [],
    "dns-opts": [],
    "dns-search": [],
    "exec-opts": [],
    "experimental": false,
    "features":{},
    "storage-driver": "",
    "storage-opts": [],
    "labels": [],
    "log-driver": "",
    "mtu": 0,
    "pidfile": "",
    "cluster-store": "",
    "cluster-advertise": "",
    "max-concurrent-downloads": 3,
    "max-concurrent-uploads": 5,
    "shutdown-timeout": 15,
    "debug": true,
    "hosts": [],
    "log-level": "",
    "tlsverify": true,
    "tlscacert": "",
    "tlscert": "",
    "tlskey": "",
    "swarm-default-advertise-addr": "",
    "group": "",
    "default-ulimits": {},
    "bridge": "",
    "fixed-cidr": "",
    "raw-logs": false,
    "allow-nondistributable-artifacts": [],
    "registry-mirrors": [],
    "insecure-registries": []
}
```

In this list, **storage-opts** would be the option for expand the default size of Windows container.

### Action

**go to C:\programdata\docker\config. Edit the file daemon.json. Create it if it doesn't exist.**

Then, insert the file as follows:

```
{
        "storage-opts": ["size=<storage-ofcontainer>"]
}
```

For example:

```
{
        "storage-opts": ["size=500G"]
}
```

After that, restart the docker engine.
