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