2016-09-29 21:21:06 +02:00
|
|
|
---
|
|
|
|
description: Explains how to use the filesystem storage drivers
|
2016-11-10 20:54:25 +01:00
|
|
|
keywords: registry, service, driver, images, storage, filesystem
|
2016-09-29 21:21:06 +02:00
|
|
|
title: Filesystem storage driver
|
|
|
|
---
|
2016-09-28 23:46:28 +02:00
|
|
|
|
2020-07-03 16:25:54 +02:00
|
|
|
{% include registry.md %}
|
|
|
|
|
2016-09-28 23:46:28 +02:00
|
|
|
An implementation of the `storagedriver.StorageDriver` interface which uses the local filesystem.
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
2017-08-23 01:25:51 +02:00
|
|
|
* `rootdirectory`: (optional) The absolute path to a root directory tree in which
|
2016-09-28 23:46:28 +02:00
|
|
|
to store all registry files. The registry stores all its data here so make sure
|
2018-03-22 18:12:29 +01:00
|
|
|
there is adequate space available. Defaults to `/var/lib/registry`. If the directory
|
2020-10-13 11:59:31 +02:00
|
|
|
does not exist, it will be created honoring [`umask`](https://man7.org/linux/man-pages/man2/umask.2.html)
|
2018-03-22 18:12:29 +01:00
|
|
|
bits. If `umask` bits are not set, the resulting permission will be `0777`.
|
2017-08-23 01:25:51 +02:00
|
|
|
* `maxthreads`: (optional) The maximum number of simultaneous blocking filesystem
|
2016-09-28 23:46:28 +02:00
|
|
|
operations permitted within the registry. Each operation spawns a new thread and
|
|
|
|
may cause thread exhaustion issues if many are done in parallel. Defaults to
|
2017-06-20 20:01:52 +02:00
|
|
|
`100`, and cannot be lower than `25`.
|