Add documentation

Signed-off-by: Tony Holdstock-Brown <tony@docker.com>
pull/1695/head
Tony Holdstock-Brown 2016-04-26 15:20:40 -07:00
parent 33c448f147
commit d0352a7448
2 changed files with 5 additions and 0 deletions

View File

@ -78,6 +78,7 @@ information about each option that appears later in this page.
storage: storage:
filesystem: filesystem:
rootdirectory: /var/lib/registry rootdirectory: /var/lib/registry
maxthreads: 100
azure: azure:
accountname: accountname accountname: accountname
accountkey: base64encodedaccountkey accountkey: base64encodedaccountkey

View File

@ -16,3 +16,7 @@ An implementation of the `storagedriver.StorageDriver` interface which uses the
`rootdirectory`: (optional) The absolute path to a root directory tree in which `rootdirectory`: (optional) The absolute path to a root directory tree in which
to store all registry files. The registry stores all its data here so make sure to store all registry files. The registry stores all its data here so make sure
there is adequate space available. Defaults to `/var/lib/registry`. there is adequate space available. Defaults to `/var/lib/registry`.
`maxthreads`: (optional) The maximum number of simultaneous blocking filesystem
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
`100`, and can be no lower than `25`.